aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2014-11-21 11:10:06 -0500
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-11-26 11:15:59 -0500
commitef7eda2cfed7b415b9872e8507ca4fde83dee53a (patch)
treec684bb259182bcf19f9148e0ecf5af04642bc887
parent32963a8ec83dd6a4e404283801b97a7048c8edd7 (diff)
ARM: at91: remove all !DT related configuration options
OLD_CLK_AT91 & OLD_IRQ_AT91 were only selected by entries in Kconfig.non_dt that are now gone. So we remove all this legacy stuff and select the proper options in the SOC_ entries. As USE_OF is now selected directly in arch/arm/Kconfig AT91 entry, we can safely remove it everywhere in this file. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
-rw-r--r--arch/arm/mach-at91/Kconfig27
1 files changed, 7 insertions, 20 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 826e50b63d7e..231893d71658 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -15,23 +15,10 @@ config HAVE_AT91_DBGU1
15config HAVE_AT91_DBGU2 15config HAVE_AT91_DBGU2
16 bool 16 bool
17 17
18config AT91_USE_OLD_CLK
19 bool
20
21config COMMON_CLK_AT91 18config COMMON_CLK_AT91
22 bool 19 bool
23 default USE_OF && !AT91_USE_OLD_CLK
24 select COMMON_CLK 20 select COMMON_CLK
25 21
26config OLD_CLK_AT91
27 bool
28 default AT91_USE_OLD_CLK
29
30config OLD_IRQ_AT91
31 bool
32 select MULTI_IRQ_HANDLER
33 select SPARSE_IRQ
34
35config HAVE_AT91_SMD 22config HAVE_AT91_SMD
36 bool 23 bool
37 24
@@ -40,18 +27,19 @@ config HAVE_AT91_H32MX
40 27
41config SOC_AT91SAM9 28config SOC_AT91SAM9
42 bool 29 bool
43 select ATMEL_AIC_IRQ if !OLD_IRQ_AT91 30 select ATMEL_AIC_IRQ
31 select COMMON_CLK_AT91
44 select CPU_ARM926T 32 select CPU_ARM926T
45 select GENERIC_CLOCKEVENTS 33 select GENERIC_CLOCKEVENTS
46 select MEMORY if USE_OF 34 select MEMORY
47 select ATMEL_SDRAMC if USE_OF 35 select ATMEL_SDRAMC
48 36
49config SOC_SAMA5 37config SOC_SAMA5
50 bool 38 bool
51 select ATMEL_AIC5_IRQ 39 select ATMEL_AIC5_IRQ
40 select COMMON_CLK_AT91
52 select CPU_V7 41 select CPU_V7
53 select GENERIC_CLOCKEVENTS 42 select GENERIC_CLOCKEVENTS
54 select USE_OF
55 select MEMORY 43 select MEMORY
56 select ATMEL_SDRAMC 44 select ATMEL_SDRAMC
57 select PHYLIB if NETDEVICES 45 select PHYLIB if NETDEVICES
@@ -109,7 +97,8 @@ endif
109if SOC_SAM_V4_V5 97if SOC_SAM_V4_V5
110config SOC_AT91RM9200 98config SOC_AT91RM9200
111 bool "AT91RM9200" 99 bool "AT91RM9200"
112 select ATMEL_AIC_IRQ if !OLD_IRQ_AT91 100 select ATMEL_AIC_IRQ
101 select COMMON_CLK_AT91
113 select CPU_ARM920T 102 select CPU_ARM920T
114 select GENERIC_CLOCKEVENTS 103 select GENERIC_CLOCKEVENTS
115 select HAVE_AT91_DBGU0 104 select HAVE_AT91_DBGU0
@@ -190,7 +179,6 @@ comment "Generic Board Type"
190config MACH_AT91RM9200_DT 179config MACH_AT91RM9200_DT
191 bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" 180 bool "Atmel AT91RM9200 Evaluation Kits with device-tree support"
192 depends on SOC_AT91RM9200 181 depends on SOC_AT91RM9200
193 select USE_OF
194 help 182 help
195 Select this if you want to experiment device-tree with 183 Select this if you want to experiment device-tree with
196 an Atmel RM9200 Evaluation Kit. 184 an Atmel RM9200 Evaluation Kit.
@@ -198,7 +186,6 @@ config MACH_AT91RM9200_DT
198config MACH_AT91SAM9_DT 186config MACH_AT91SAM9_DT
199 bool "Atmel AT91SAM Evaluation Kits with device-tree support" 187 bool "Atmel AT91SAM Evaluation Kits with device-tree support"
200 depends on SOC_AT91SAM9 188 depends on SOC_AT91SAM9
201 select USE_OF
202 help 189 help
203 Select this if you want to experiment device-tree with 190 Select this if you want to experiment device-tree with
204 an Atmel Evaluation Kit. 191 an Atmel Evaluation Kit.