cmd/Kconfig: Add some missing dependencies

With the migration to Kconfig complete, we can now add some previously
missing dependencies to some commands.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-04-27 08:10:52 -06:00
parent fcdcfc90f1
commit 55608302a4
2 changed files with 7 additions and 3 deletions

View File

@@ -539,6 +539,7 @@ config CMD_IMI
config CMD_IMLS config CMD_IMLS
bool "imls" bool "imls"
depends on MTD_NOR_FLASH || FLASH_CFI_DRIVER
help help
List all images found in flash List all images found in flash
@@ -831,7 +832,7 @@ config SYS_EEPROM_SIZE
config SYS_EEPROM_PAGE_WRITE_BITS config SYS_EEPROM_PAGE_WRITE_BITS
int "Number of bits used to address bytes in a single page" int "Number of bits used to address bytes in a single page"
depends on CMD_EEPROM depends on CMD_EEPROM || ENV_IS_IN_EEPROM
default 8 default 8
help help
The EEPROM page size is 2^SYS_EEPROM_PAGE_WRITE_BITS. The EEPROM page size is 2^SYS_EEPROM_PAGE_WRITE_BITS.
@@ -1023,8 +1024,8 @@ config CMD_ARMFFA
- Displaying the arm_ffa device info - Displaying the arm_ffa device info
config CMD_ARMFLASH config CMD_ARMFLASH
#depends on FLASH_CFI_DRIVER
bool "armflash" bool "armflash"
depends on FLASH_CFI_DRIVER
help help
ARM Ltd reference designs flash partition access ARM Ltd reference designs flash partition access
@@ -1167,6 +1168,7 @@ config CMD_FPGA_LOAD_SECURE
config CMD_FPGAD config CMD_FPGAD
bool "fpgad - dump FPGA registers" bool "fpgad - dump FPGA registers"
depends on GDSYS_LEGACY_DRIVERS
help help
(legacy, needs conversion to driver model) (legacy, needs conversion to driver model)
Provides a way to dump FPGA registers by calling the board-specific Provides a way to dump FPGA registers by calling the board-specific
@@ -1602,6 +1604,7 @@ config CMD_TEMPERATURE
config CMD_TSI148 config CMD_TSI148
bool "tsi148 - Command to access tsi148 device" bool "tsi148 - Command to access tsi148 device"
depends on DM_PCI_COMPAT
help help
This provides various sub-commands to initialise and configure the This provides various sub-commands to initialise and configure the
Turndra tsi148 device. See the command help for full details. Turndra tsi148 device. See the command help for full details.
@@ -1615,6 +1618,7 @@ config CMD_UFS
config CMD_UNIVERSE config CMD_UNIVERSE
bool "universe - Command to set up the Turndra Universe controller" bool "universe - Command to set up the Turndra Universe controller"
depends on DM_PCI_COMPAT
help help
This allows setting up the VMEbus provided by this controller. This allows setting up the VMEbus provided by this controller.
See the command help for full details. See the command help for full details.

2
env/Kconfig vendored
View File

@@ -312,7 +312,7 @@ config ENV_IS_IN_NVRAM
config ENV_IS_IN_ONENAND config ENV_IS_IN_ONENAND
bool "Environment is in OneNAND" bool "Environment is in OneNAND"
depends on !CHAIN_OF_TRUST depends on !CHAIN_OF_TRUST && CMD_ONENAND
help help
Define this if you want to put your local device's environment in Define this if you want to put your local device's environment in
OneNAND. OneNAND.