Merge tag 'cleanup-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-at91 / Kconfig
index 4f0e800e7e711707caaf9c3331f9f90c4eae8cab..b2d2cf4dc0523fcc4175db241b61e66017e72ea0 100644 (file)
@@ -57,6 +57,7 @@ config SOC_SAMA5
        select GENERIC_CLOCKEVENTS
        select MULTI_IRQ_HANDLER
        select SPARSE_IRQ
+       select USE_OF
 
 menu "Atmel AT91 System-on-Chip"
 
@@ -64,11 +65,22 @@ choice
 
        prompt "Core type"
 
+config ARCH_AT91X40
+       bool "ARM7 AT91X40"
+       depends on !MMU
+       select CPU_ARM7TDMI
+       select ARCH_USES_GETTIMEOFFSET
+       select MULTI_IRQ_HANDLER
+       select SPARSE_IRQ
+
+       help
+         Select this if you are using one of Atmel's AT91X40 SoC.
+
 config SOC_SAM_V4_V5
-       bool "ARM7/ARM9"
+       bool "ARM9 AT91SAM9/AT91RM9200"
        help
-         Select this if you are using one of Atmel's AT91SAM9, AT91RM9200
-         or AT91X40 SoC.
+         Select this if you are using one of Atmel's AT91SAM9 or
+         AT91RM9200 SoC.
 
 config SOC_SAM_V7
        bool "Cortex A5"
@@ -119,7 +131,6 @@ config SOC_AT91SAM9261
        select HAVE_AT91_DBGU0
        select HAVE_FB_ATMEL
        select SOC_AT91SAM9
-       select AT91_USE_OLD_CLK
        select HAVE_AT91_USB_CLK
        help
          Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC.
@@ -137,7 +148,6 @@ config SOC_AT91SAM9RL
        select HAVE_AT91_DBGU0
        select HAVE_FB_ATMEL
        select SOC_AT91SAM9
-       select AT91_USE_OLD_CLK
        select HAVE_AT91_UTMI
 
 config SOC_AT91SAM9G45
@@ -179,9 +189,12 @@ config SOC_AT91SAM9N12
          Select this if you are using Atmel's AT91SAM9N12 SoC.
 
 # ----------------------------------------------------------
+endif # SOC_SAM_V4_V5
 
+
+if SOC_SAM_V4_V5 || ARCH_AT91X40
 source arch/arm/mach-at91/Kconfig.non_dt
-endif # SOC_SAM_V4_V5
+endif
 
 comment "Generic Board Type"