mb/intel/galileo: Clean up `FMDFILE` Kconfig handling

Remove redundant type, prompt and help text, and replace `depends on`
clause with conditional default to allow specifying a FMAP when vboot
is not selected.

Change-Id: I37ddab3a27e304e810ea55f13821d755bb70cb4b
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56551
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2021-07-23 11:34:07 +02:00 committed by Felix Held
parent 5b44e7dce3
commit ac44f87465
1 changed files with 1 additions and 9 deletions

View File

@ -105,15 +105,7 @@ config DRIVER_TPM_I2C_ADDR
I2C address of the TPM chip on the Crypto Shield board.
config FMDFILE
string "FMAP description file in fmd format"
depends on VBOOT
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot.fmd"
help
The build system creates a default FMAP from ROM_SIZE and CBFS_SIZE,
but in some cases more complex setups are required.
When an FMD descriptionn file is specified, the build system uses it
instead of creating a default FMAP file.
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot.fmd" if VBOOT
config ENABLE_SD_TESTING
bool "Enable SD card testing"