aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-16 14:04:35 -0400
committerTom Rini <trini@konsulko.com>2022-07-05 17:03:02 -0400
commit93145335fbf5cbe7f6b1ca42263a156620a37f7f (patch)
tree1b9bdf91c6d24acd0cb8fa7ff57b1f81e868c402 /board/freescale/common
parent1e7750f1bc8005844c937e0ca6feaef45743f0c8 (diff)
downloadu-boot-93145335fbf5cbe7f6b1ca42263a156620a37f7f.zip
u-boot-93145335fbf5cbe7f6b1ca42263a156620a37f7f.tar.gz
u-boot-93145335fbf5cbe7f6b1ca42263a156620a37f7f.tar.bz2
nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig
The way that we use this file currently means that we have to guard it in every platform Kconfig. But it is also required in all NXP platforms, including non-reference platforms. Make all options in it have appropriate dependencies so that we can include it a single time under arch/Kconfig Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/freescale/common')
-rw-r--r--board/freescale/common/Kconfig12
1 files changed, 8 insertions, 4 deletions
diff --git a/board/freescale/common/Kconfig b/board/freescale/common/Kconfig
index 195fc47..85acdde 100644
--- a/board/freescale/common/Kconfig
+++ b/board/freescale/common/Kconfig
@@ -16,7 +16,8 @@ config CHAIN_OF_TRUST
config CMD_ESBC_VALIDATE
bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
- default y if CHAIN_OF_TRUST
+ depends on CHAIN_OF_TRUST
+ default y
help
This option enables two commands used for secure booting:
@@ -25,26 +26,28 @@ config CMD_ESBC_VALIDATE
config DEEP_SLEEP
bool "Enable SoC deep sleep feature"
- default y if ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A
+ depends on ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A
+ default y
help
Indicates this SoC supports deep sleep feature. If deep sleep is
supported, core will start to execute uboot when wakes up.
config FSL_USE_PCA9547_MUX
bool "Enable PCA9547 I2C Mux on Freescale boards"
+ depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
help
This option enables the PCA9547 I2C mux on Freescale boards.
config VID
bool "Enable Freescale VID"
- depends on I2C || DM_I2C
+ depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (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
+ depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (SPL_I2C || DM_SPL_I2C)
help
This option enables setting core voltage based on individual
values saved in SoC fuses, in SPL.
@@ -103,6 +106,7 @@ endif
config FSL_QIXIS
bool "Enable QIXIS support"
+ depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
config QIXIS_I2C_ACCESS
bool "Access to QIXIS is over i2c"