Kconfig hex values don't need to be in quotes, and should start with '0x'. If the default value isn't set this way, Kconfig will add the 0x to the start, and the entry can be added unnecessarily to the defconfig since it's "different" than what was set by the default. A check for this has been added to the Kconfig lint tool. Change-Id: I86f37340682771700011b6285e4b4af41b7e9968 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/16834 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
14 lines
273 B
Plaintext
14 lines
273 B
Plaintext
config SPI_TPM
|
|
bool "SPI TPM"
|
|
depends on !PC80_SYSTEM && TPM2
|
|
|
|
config DRIVER_TPM_SPI_BUS
|
|
hex "SPI bus TPM chip is connected to"
|
|
default 0x0
|
|
depends on SPI_TPM
|
|
|
|
config DRIVER_TPM_SPI_CHIP
|
|
int "Chip Select of the TPM chip on its SPI bus"
|
|
default 0
|
|
depends on SPI_TPM
|