ARM: oxnas: Add OX820 config and makefile entry
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 9 Sep 2016 10:23:45 +0000 (12:23 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 23 Nov 2016 08:53:55 +0000 (09:53 +0100)
Refactor the oxnas Kconfig entries among the OX810SE and OX820 configs,
and add the files to support the OX820 SMP feature.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
arch/arm/Makefile
arch/arm/mach-oxnas/Kconfig

index 6be9ee148b78b964004392045199ec8d1540134e..68312a9f660a82345d42755934adb5f2f95df67e 100644 (file)
@@ -191,6 +191,7 @@ machine-$(CONFIG_ARCH_MXS)          += mxs
 machine-$(CONFIG_ARCH_NETX)            += netx
 machine-$(CONFIG_ARCH_NOMADIK)         += nomadik
 machine-$(CONFIG_ARCH_NSPIRE)          += nspire
+machine-$(CONFIG_ARCH_OXNAS)           += oxnas
 machine-$(CONFIG_ARCH_OMAP1)           += omap1
 machine-$(CONFIG_ARCH_OMAP2PLUS)       += omap2
 machine-$(CONFIG_ARCH_ORION5X)         += orion5x
index 29100beb2e7f201403ce9bc84c78dab1aea818eb..8fa4557e27a97bb82d8e49db827a619d9ae577f9 100644 (file)
@@ -1,9 +1,16 @@
 menuconfig ARCH_OXNAS
        bool "Oxford Semiconductor OXNAS Family SoCs"
        select ARCH_HAS_RESET_CONTROLLER
+       select COMMON_CLK_OXNAS
        select GPIOLIB
+       select MFD_SYSCON
+       select OXNAS_RPS_TIMER
+       select PINCTRL_OXNAS
+       select RESET_CONTROLLER
+       select RESET_OXNAS
+       select VERSATILE_FPGA_IRQ
        select PINCTRL
-       depends on ARCH_MULTI_V5
+       depends on ARCH_MULTI_V5 || ARCH_MULTI_V6
        help
          Support for OxNas SoC family developed by Oxford Semiconductor.
 
@@ -11,16 +18,21 @@ if ARCH_OXNAS
 
 config MACH_OX810SE
        bool "Support OX810SE Based Products"
-       select ARCH_HAS_RESET_CONTROLLER
-       select COMMON_CLK_OXNAS
+       depends on ARCH_MULTI_V5
        select CPU_ARM926T
-       select MFD_SYSCON
-       select OXNAS_RPS_TIMER
-       select PINCTRL_OXNAS
-       select RESET_CONTROLLER
-       select RESET_OXNAS
-       select VERSATILE_FPGA_IRQ
        help
          Include Support for the Oxford Semiconductor OX810SE SoC Based Products.
 
+config MACH_OX820
+       bool "Support OX820 Based Products"
+       depends on ARCH_MULTI_V6
+       select ARM_GIC
+       select DMA_CACHE_RWFO if SMP
+       select CPU_V6K
+       select HAVE_SMP
+       select HAVE_ARM_SCU if SMP
+       select HAVE_ARM_TWD if SMP
+       help
+         Include Support for the Oxford Semiconductor OX820 SoC Based Products.
+
 endif