From 25af7dc19358f18ba826492f781fbdfab8fd8588 Mon Sep 17 00:00:00 2001 From: York Sun Date: Tue, 4 Oct 2016 14:45:54 -0700 Subject: arm: Move SYS_FSL_IFC_BANK_COUNT to Kconfig Move this option to Kconfig and clean up existing uses. This option is also used by PowerPC SoCs. Signed-off-by: York Sun Reviewed-by: Simon Glass --- arch/arm/cpu/armv7/ls102xa/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/arm/cpu/armv7/ls102xa') diff --git a/arch/arm/cpu/armv7/ls102xa/Kconfig b/arch/arm/cpu/armv7/ls102xa/Kconfig index e8264f54fb..88983f4c18 100644 --- a/arch/arm/cpu/armv7/ls102xa/Kconfig +++ b/arch/arm/cpu/armv7/ls102xa/Kconfig @@ -23,4 +23,9 @@ config MAX_CPUS config SYS_FSL_ERRATUM_A010315 bool "Workaround for PCIe erratum A010315" +config SYS_FSL_IFC_BANK_COUNT + int "Maximum banks of Integrated flash controller" + depends on ARCH_LS1021A + default 8 + endmenu -- cgit