Skip to content

Commit cf1b841

Browse files
committed
Remove TPM AUTODETECT also from SPI builds
1 parent cc46b5a commit cf1b841

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

options.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,12 +910,11 @@ ifeq ($(WOLFTPM),1)
910910
OBJS+=$(WOLFBOOT_LIB_WOLFTPM)/src/tpm2_swtpm.o
911911
else
912912
# Use memory-mapped WOLFTPM on x86-64
913-
ifeq ($(ARCH),x86_64)
913+
ifeq ($(ARCH),x86_64)
914914
CFLAGS+=-DWOLFTPM_MMIO -DWOLFTPM_EXAMPLE_HAL -DWOLFTPM_INCLUDE_IO_FILE
915915
OBJS+=$(WOLFBOOT_LIB_WOLFTPM)/hal/tpm_io_mmio.o
916916
# By default, on other architectures, provide SPI driver
917917
else
918-
CFLAGS+=-D"WOLFTPM_AUTODETECT"
919918
WOLFCRYPT_OBJS+=hal/spi/spi_drv_$(SPI_TARGET).o
920919
endif
921920
endif

0 commit comments

Comments
 (0)