tpm: Move the LPC TPM driver to a subdirectory
This moves the LPC TPM driver to drivers/pc80/tpm so it can be turned into a ramstage driver with a chip.h It includes no other changes yet. BUG=chrome-os-partner:33385 BRANCH=samus,auron TEST=emerge-samus coreboot Change-Id: I60ddd1d2a3e72bcf169a0b44e0c7ebcb87f4617d Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/226660 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
ddc12eebe4
commit
be2db391f9
5 changed files with 11 additions and 10 deletions
|
|
@ -15,14 +15,6 @@ config DRIVERS_PS2_KEYBOARD
|
|||
this option, then you can say N here to speed up boot time.
|
||||
Otherwise say Y.
|
||||
|
||||
config LPC_TPM
|
||||
bool
|
||||
default n
|
||||
help
|
||||
Enable this option to enable TPM support in coreboot.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config DRIVERS_MC146818_RTC
|
||||
bool
|
||||
default y if ARCH_X86
|
||||
|
|
@ -37,3 +29,5 @@ config DRIVERS_RTC_HAS_ALTCENTURY
|
|||
bool "The RTC supports alt century"
|
||||
depends on DRIVERS_MC146818_RTC
|
||||
default y
|
||||
|
||||
source src/drivers/pc80/tpm/Kconfig
|
||||
|
|
|
|||
|
|
@ -6,12 +6,11 @@ ramstage-y += i8259.c
|
|||
ramstage-$(CONFIG_UDELAY_IO) += udelay_io.c
|
||||
ramstage-y += keyboard.c
|
||||
|
||||
romstage-$(CONFIG_LPC_TPM) += tpm.c
|
||||
ifeq ($(CONFIG_DRIVERS_MC146818_CMOS),y)
|
||||
romstage-$(CONFIG_USE_OPTION_TABLE) += mc146818rtc_early.c
|
||||
endif
|
||||
|
||||
subdirs-y += vga
|
||||
subdirs-y += tpm vga
|
||||
|
||||
cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default
|
||||
cmos.default-file = $(CONFIG_CMOS_DEFAULT_FILE):nvramtool
|
||||
|
|
|
|||
7
src/drivers/pc80/tpm/Kconfig
Normal file
7
src/drivers/pc80/tpm/Kconfig
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
config LPC_TPM
|
||||
bool
|
||||
default n
|
||||
help
|
||||
Enable this option to enable LPC TPM support in coreboot.
|
||||
|
||||
If unsure, say N.
|
||||
1
src/drivers/pc80/tpm/Makefile.inc
Normal file
1
src/drivers/pc80/tpm/Makefile.inc
Normal file
|
|
@ -0,0 +1 @@
|
|||
romstage-$(CONFIG_LPC_TPM) += tpm.c
|
||||
Loading…
Add table
Add a link
Reference in a new issue