mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
d06e4b7e25
This converts the following to Kconfig: CONFIG_VID CONFIG_VOL_MONITOR_INA220 CONFIG_VOL_MONITOR_IR36021_READ CONFIG_VOL_MONITOR_IR36021_SET CONFIG_VOL_MONITOR_LTC3882_READ CONFIG_VOL_MONITOR_LTC3882_SET To finish this migration, we first need to introduce CONFIG_SPL_VID as some platforms only use this code in full U-Boot while others use it in SPL as well. To make the Kconfig logic clearer, guard all of the sub-options with a if VID || SPL_VID check. Finally, add Kconfig options for the remaining related options that did not previously have one. Signed-off-by: Tom Rini <trini@konsulko.com>
94 lines
2.6 KiB
Text
94 lines
2.6 KiB
Text
config CHAIN_OF_TRUST
|
|
depends on !FIT_SIGNATURE && NXP_ESBC
|
|
imply CMD_BLOB
|
|
imply CMD_HASH if ARM
|
|
select FSL_CAAM
|
|
select SPL_BOARD_INIT if (ARM && SPL)
|
|
select SPL_HASH if (ARM && SPL)
|
|
select SHA_HW_ACCEL
|
|
select SHA_PROG_HW_ACCEL
|
|
select ENV_IS_NOWHERE
|
|
select CMD_EXT4 if ARM
|
|
select CMD_EXT4_WRITE if ARM
|
|
bool
|
|
default y
|
|
|
|
config CMD_ESBC_VALIDATE
|
|
bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
|
|
default y if CHAIN_OF_TRUST
|
|
help
|
|
This option enables two commands used for secure booting:
|
|
|
|
esbc_validate - validate signature using RSA verification
|
|
esbc_halt - put the core in spin loop (Secure Boot Only)
|
|
|
|
config FSL_USE_PCA9547_MUX
|
|
bool "Enable PCA9547 I2C Mux on Freescale boards"
|
|
help
|
|
This option enables the PCA9547 I2C mux on Freescale boards.
|
|
|
|
config VID
|
|
bool "Enable Freescale VID"
|
|
depends on I2C || DM_I2C
|
|
help
|
|
This option enables setting core voltage based on individual
|
|
values saved in SoC fuses.
|
|
|
|
config SPL_VID
|
|
bool "Enable Freescale VID in SPL"
|
|
depends on I2C || DM_I2C
|
|
help
|
|
This option enables setting core voltage based on individual
|
|
values saved in SoC fuses, in SPL.
|
|
|
|
if VID || SPL_VID
|
|
|
|
config VID_FLS_ENV
|
|
string "Environment variable for overriding VDD"
|
|
help
|
|
This option allows for specifying the environment variable
|
|
to check to override VDD information.
|
|
|
|
config VOL_MONITOR_INA220
|
|
bool "Enable the INA220 voltage monitor read"
|
|
help
|
|
This option enables INA220 voltage monitor read
|
|
functionality. It is used by the common VID driver.
|
|
|
|
config VOL_MONITOR_IR36021_READ
|
|
bool "Enable the IR36021 voltage monitor read"
|
|
help
|
|
This option enables IR36021 voltage monitor read
|
|
functionality. It is used by the common VID driver.
|
|
|
|
config VOL_MONITOR_IR36021_SET
|
|
bool "Enable the IR36021 voltage monitor set"
|
|
help
|
|
This option enables IR36021 voltage monitor set
|
|
functionality. It is used by the common VID driver.
|
|
|
|
config VOL_MONITOR_LTC3882_READ
|
|
bool "Enable the LTC3882 voltage monitor read"
|
|
help
|
|
This option enables LTC3882 voltage monitor read
|
|
functionality. It is used by the common VID driver.
|
|
|
|
config VOL_MONITOR_LTC3882_SET
|
|
bool "Enable the LTC3882 voltage monitor set"
|
|
help
|
|
This option enables LTC3882 voltage monitor set
|
|
functionality. It is used by the common VID driver.
|
|
|
|
config VOL_MONITOR_ISL68233_READ
|
|
bool "Enable the ISL68233 voltage monitor read"
|
|
help
|
|
This option enables ISL68233 voltage monitor read
|
|
functionality. It is used by the common VID driver.
|
|
|
|
config VOL_MONITOR_ISL68233_SET
|
|
bool "Enable the ISL68233 voltage monitor set"
|
|
help
|
|
This option enables ISL68233 voltage monitor set
|
|
functionality. It is used by the common VID driver.
|
|
|
|
endif
|