arm: Fix Kconfig for proper display menu
PATCH v2 1/8 arm: Fix Kconfig for proper display menu
Some config options should not have prompt. They are selected by choosing target.
Signed-off-by York Sun <[email protected]>
Reviewed-by Simon Glass <[email protected]>
---
Changes in v2: None
arch/arm/cpu/armv7/ls102xa/Kconfig | 5 +++-- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 11 +++++++---- 2 files changed, 10 insertions(+), 6 deletions(-)
arch/arm/cpu/armv7/ls102xa/Kconfig +3 -2
@@ -1,6 +1,7 @@ config ARCH_LS1021A - bool "Freescale Layerscape LS1021A SoC" + bool select SYS_FSL_ERRATUM_A010315 config LS1_DEEP_SLEEP - bool "Freescale Layerscape 1 deep sleep" + bool "Deep sleep" + depends on ARCH_LS1021A
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +7 -4
@@ -1,17 +1,20 @@ config ARCH_LS1012A - bool "Freescale Layerscape LS1012A SoC" + bool select SYS_FSL_MMDC select SYS_FSL_ERRATUM_A010315 config ARCH_LS1043A - bool "Freescale Layerscape LS1043A SoC" + bool select SYS_FSL_ERRATUM_A010315 config ARCH_LS1046A - bool "Freescale Layerscape LS1046A SoC" + bool + +config ARCH_LS2080A + bool config SYS_FSL_MMDC - bool "Freescale Multi Mode DDR Controller" + bool config SYS_FSL_ERRATUM_A010315 bool "Workaround for PCIe erratum A010315"
Signature · 1 line
2.7.4
PATCH v2 1/8 arm: Fix Kconfig for proper display menu
Quoted 9 lines · york sun
Some config options should not have prompt. They are selected by choosing target.
Signed-off-by York Sun <[email protected]>Reviewed-by Simon Glass <[email protected]>---
Changes in v2: None
This set is applied to fsl-qoriq master, awaiting upstream.
York
PATCH v2 2/8 arm: Move FSL_LSCH2 FSL_LSCH3 to Kconfig
In reply to York SunMove these options to Kconfig and create a sub-menu to avoid name conflict with other architectures.
Signed-off-by York Sun <[email protected]>
Reviewed-by Simon Glass <[email protected]>
---
Changes in v2: None
arch/arm/Kconfig | 4 ++++ arch/arm/cpu/armv7/ls102xa/Kconfig | 8 ++++++++ arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 15 +++++++++++++++ include/configs/ls1012a_common.h | 1 - include/configs/ls1043a_common.h | 1 - include/configs/ls1046a_common.h | 1 - include/configs/ls2080a_common.h | 1 - scripts/config_whitelist.txt | 2 -- 8 files changed, 27 insertions(+), 6 deletions(-)
arch/arm/Kconfig +4 -0
@@ -652,6 +652,7 @@ config TARGET_VEXPRESS64_JUNO config TARGET_LS2080A_EMU bool "Support ls2080a_emu" + select ARCH_LS2080A select ARM64 select ARMV8_MULTIENTRY help
@@ -662,6 +663,7 @@ config TARGET_LS2080A_EMU config TARGET_LS2080A_SIMU bool "Support ls2080a_simu" + select ARCH_LS2080A select ARM64 select ARMV8_MULTIENTRY help
@@ -672,6 +674,7 @@ config TARGET_LS2080A_SIMU config TARGET_LS2080AQDS bool "Support ls2080aqds" + select ARCH_LS2080A select ARM64 select ARMV8_MULTIENTRY select SUPPORT_SPL
@@ -683,6 +686,7 @@ config TARGET_LS2080AQDS config TARGET_LS2080ARDB bool "Support ls2080ardb" + select ARCH_LS2080A select ARM64 select ARMV8_MULTIENTRY select SUPPORT_SPL
arch/arm/cpu/armv7/ls102xa/Kconfig +8 -0
@@ -2,6 +2,14 @@ config ARCH_LS1021A bool select SYS_FSL_ERRATUM_A010315 +menu "LS102xA architecture" + depends on ARCH_LS1021A + config LS1_DEEP_SLEEP bool "Deep sleep" depends on ARCH_LS1021A + +config SYS_FSL_ERRATUM_A010315 + bool "Workaround for PCIe erratum A010315" + +endmenu
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +15 -0
@@ -1,20 +1,35 @@ config ARCH_LS1012A bool + select FSL_LSCH2 select SYS_FSL_MMDC select SYS_FSL_ERRATUM_A010315 config ARCH_LS1043A bool + select FSL_LSCH2 select SYS_FSL_ERRATUM_A010315 config ARCH_LS1046A bool + select FSL_LSCH2 config ARCH_LS2080A bool + select FSL_LSCH3 + +config FSL_LSCH2 + bool + +config FSL_LSCH3 + bool + +menu "Layerscape architecture" + depends on FSL_LSCH2 || FSL_LSCH3 config SYS_FSL_MMDC bool config SYS_FSL_ERRATUM_A010315 bool "Workaround for PCIe erratum A010315" + +endmenu
include/configs/ls1012a_common.h +0 -1
@@ -8,7 +8,6 @@#define __LS1012A_COMMON_H#define CONFIG_FSL_LAYERSCAPE -#define CONFIG_FSL_LSCH2 #define CONFIG_GICV2 #define CONFIG_SYS_HAS_SERDES
include/configs/ls1043a_common.h +0 -1
@@ -9,7 +9,6 @@#define CONFIG_REMAKE_ELF #define CONFIG_FSL_LAYERSCAPE -#define CONFIG_FSL_LSCH2 #define CONFIG_LS1043A #define CONFIG_MP #define CONFIG_SYS_FSL_CLK
include/configs/ls1046a_common.h +0 -1
@@ -9,7 +9,6 @@#define CONFIG_REMAKE_ELF #define CONFIG_FSL_LAYERSCAPE -#define CONFIG_FSL_LSCH2 #define CONFIG_MP #define CONFIG_SYS_FSL_CLK #define CONFIG_GICV2
include/configs/ls2080a_common.h +0 -1
@@ -9,7 +9,6 @@#define CONFIG_REMAKE_ELF #define CONFIG_FSL_LAYERSCAPE -#define CONFIG_FSL_LSCH3 #define CONFIG_MP #define CONFIG_GICV3 #define CONFIG_FSL_TZPC_BP147
scripts/config_whitelist.txt +0 -2
@@ -1299,8 +1299,6 @@ CONFIG_FSL_LAW CONFIG_FSL_LAYERSCAPE CONFIG_FSL_LBC CONFIG_FSL_LINFLEXUART -CONFIG_FSL_LSCH2 -CONFIG_FSL_LSCH3 CONFIG_FSL_LS_PPA CONFIG_FSL_MC9SDZ60 CONFIG_FSL_MC_ENET
Signature · 1 line
2.7.4