diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/poppy/Kconfig | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig index d19cdbb7c5..6ba2a5e0b4 100644 --- a/src/mainboard/google/poppy/Kconfig +++ b/src/mainboard/google/poppy/Kconfig @@ -23,15 +23,15 @@ config DEVICETREE default "variants/baseboard/devicetree.cb" config DRIVER_TPM_I2C_BUS - depends on POPPY_USE_I2C_TPM + depends on VARIANT_HAS_I2C_TPM default 0x1 config DRIVER_TPM_I2C_ADDR - depends on POPPY_USE_I2C_TPM + depends on VARIANT_HAS_I2C_TPM default 0x50 config DRIVER_TPM_SPI_BUS - depends on POPPY_USE_SPI_TPM + depends on VARIANT_HAS_SPI_TPM default 0x1 config GBB_HWID @@ -72,50 +72,49 @@ config MAX_CPUS int default 8 -# Select this option to enable use of cr50 I2C TPM on poppy. -config POPPY_USE_I2C_TPM +config TPM_TIS_ACPI_INTERRUPT + int + default 64 # GPE0_DW2_00 (GPP_E0) + +config VARIANT_DIR + string + default "poppy" if BOARD_GOOGLE_POPPY + default "nautilus" if BOARD_GOOGLE_NAUTILUS + default "soraka" if BOARD_GOOGLE_SORAKA + +# Select this option to enable use of cr50 I2C TPM on the variant. +config VARIANT_HAS_I2C_TPM bool default n select I2C_TPM select MAINBOARD_HAS_I2C_TPM_CR50 select TPM2 -# Select this option to enable use of cr50 SPI TPM on poppy. -# This option is disabled by default. -config POPPY_USE_SPI_TPM +# Select this option to enable use of cr50 SPI TPM on the variant. +config VARIANT_HAS_SPI_TPM bool default n select MAINBOARD_HAS_SPI_TPM_CR50 select SPI_TPM select TPM2 -config TPM_TIS_ACPI_INTERRUPT - int - default 64 # GPE0_DW2_00 (GPP_E0) - -config VARIANT_DIR - string - default "poppy" if BOARD_GOOGLE_POPPY - default "nautilus" if BOARD_GOOGLE_NAUTILUS - default "soraka" if BOARD_GOOGLE_SORAKA - config VARIANT_SPECIFIC_OPTIONS_POPPY def_bool n select DRIVERS_I2C_MAX98927 select NO_FADT_8042 - select POPPY_USE_I2C_TPM if !VBOOT_MOCK_SECDATA + select VARIANT_HAS_I2C_TPM if !VBOOT_MOCK_SECDATA config VARIANT_SPECIFIC_OPTIONS_NAUTILUS def_bool n select DRIVERS_I2C_DA7219 select DRIVERS_PS2_KEYBOARD - select POPPY_USE_I2C_TPM if !VBOOT_MOCK_SECDATA + select VARIANT_HAS_I2C_TPM if !VBOOT_MOCK_SECDATA config VARIANT_SPECIFIC_OPTIONS_SORAKA def_bool n select DRIVERS_I2C_MAX98927 select NO_FADT_8042 - select POPPY_USE_I2C_TPM if !VBOOT_MOCK_SECDATA + select VARIANT_HAS_I2C_TPM if !VBOOT_MOCK_SECDATA config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES |