Convert CONFIG_SPL_LIBGENERIC_SUPPORT to Kconfig
[platform/kernel/u-boot.git] / arch / arm / mach-uniphier / Kconfig
index e256eeb..573d942 100644 (file)
@@ -1,17 +1,27 @@
 if ARCH_UNIPHIER
 
+config SPL_LIBCOMMON_SUPPORT
+       default y
+
+config SPL_LIBGENERIC_SUPPORT
+       default y
+
 config SYS_CONFIG_NAME
        default "uniphier"
 
 config ARCH_UNIPHIER_32BIT
        bool
        select CPU_V7
+       select CPU_V7_HAS_NONSEC
+       select ARMV7_NONSEC
+       select ARCH_SUPPORT_PSCI
 
 config ARCH_UNIPHIER_64BIT
        bool
        select ARM64
        select SPL_SEPARATE_BSS
        select ARMV8_MULTIENTRY
+       select ARMV8_SPIN_TABLE
 
 choice
         prompt "UniPhier SoC select"
@@ -69,6 +79,14 @@ config ARCH_UNIPHIER_LD6B
        depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
        default y
 
+config CACHE_UNIPHIER
+       bool "Enable the UniPhier L2 cache controller"
+       depends on ARCH_UNIPHIER_32BIT
+       select SYS_CACHE_SHIFT_7
+       default y
+       help
+         This option allows to use the UniPhier System Cache as L2 cache.
+
 config MICRO_SUPPORT_CARD
        bool "Use Micro Support Card"
        help