aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-05 23:51:50 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-04-17 08:47:21 -0400
commit1e3ce2b8545390a2aee8dbfcd49ca4161b636000 (patch)
treec8bfe5aec8b5d0f88459cc83c9f3076092d2c6da /arch/arm/mach-at91/Kconfig
parent1441bd325bbbcd38d190b2444481b23cdf70069a (diff)
ARN: at91: introduce SOC_AT91xxx define to allow to compile SoC core support
We can now compile all SoC core support together and DT boards. We still can not compile together the non DT board. So We keep the ARCH_AT91xxx for the non DT board and for backward defconfig compatibility. This will enable the plaform_device ressources. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/Kconfig')
-rw-r--r--arch/arm/mach-at91/Kconfig91
1 files changed, 64 insertions, 27 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 40e31c7daf08..98a42f3472d5 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -24,68 +24,66 @@ config SOC_AT91SAM9
24 24
25menu "Atmel AT91 System-on-Chip" 25menu "Atmel AT91 System-on-Chip"
26 26
27choice 27comment "Atmel AT91 Processor"
28 prompt "Atmel AT91 Processor"
29 28
30config ARCH_AT91RM9200 29config SOC_AT91SAM9
30 bool
31 select CPU_ARM926T
32 select AT91_SAM9_TIME
33 select AT91_SAM9_SMC
34
35config SOC_AT91RM9200
31 bool "AT91RM9200" 36 bool "AT91RM9200"
32 select CPU_ARM920T 37 select CPU_ARM920T
33 select GENERIC_CLOCKEVENTS 38 select GENERIC_CLOCKEVENTS
34 select HAVE_AT91_DBGU0 39 select HAVE_AT91_DBGU0
35 40
36config ARCH_AT91SAM9260 41config SOC_AT91SAM9260
37 bool "AT91SAM9260 or AT91SAM9XE" 42 bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20"
38 select SOC_AT91SAM9 43 select SOC_AT91SAM9
39 select HAVE_AT91_DBGU0 44 select HAVE_AT91_DBGU0
40 select HAVE_NET_MACB 45 select HAVE_NET_MACB
46 help
47 Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE
48 or AT91SAM9G20 SoC.
41 49
42config ARCH_AT91SAM9261 50config SOC_AT91SAM9261
43 bool "AT91SAM9261" 51 bool "AT91SAM9261 or AT91SAM9G10"
44 select SOC_AT91SAM9
45 select HAVE_FB_ATMEL
46 select HAVE_AT91_DBGU0
47
48config ARCH_AT91SAM9G10
49 bool "AT91SAM9G10"
50 select SOC_AT91SAM9 52 select SOC_AT91SAM9
51 select HAVE_AT91_DBGU0 53 select HAVE_AT91_DBGU0
52 select HAVE_FB_ATMEL 54 select HAVE_FB_ATMEL
55 help
56 Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC.
53 57
54config ARCH_AT91SAM9263 58config SOC_AT91SAM9263
55 bool "AT91SAM9263" 59 bool "AT91SAM9263"
56 select SOC_AT91SAM9 60 select SOC_AT91SAM9
61 select HAVE_AT91_DBGU1
57 select HAVE_FB_ATMEL 62 select HAVE_FB_ATMEL
58 select HAVE_NET_MACB 63 select HAVE_NET_MACB
59 select HAVE_AT91_DBGU1
60 64
61config ARCH_AT91SAM9RL 65config SOC_AT91SAM9RL
62 bool "AT91SAM9RL" 66 bool "AT91SAM9RL"
63 select SOC_AT91SAM9 67 select SOC_AT91SAM9
64 select HAVE_FB_ATMEL
65 select HAVE_AT91_DBGU0 68 select HAVE_AT91_DBGU0
69 select HAVE_FB_ATMEL
66 70
67config ARCH_AT91SAM9G20 71config SOC_AT91SAM9G45
68 bool "AT91SAM9G20"
69 select SOC_AT91SAM9
70 select HAVE_AT91_DBGU0
71 select HAVE_NET_MACB
72
73config ARCH_AT91SAM9G45
74 bool "AT91SAM9G45 or AT91SAM9M10 families" 72 bool "AT91SAM9G45 or AT91SAM9M10 families"
75 select SOC_AT91SAM9 73 select SOC_AT91SAM9
74 select HAVE_AT91_DBGU1
76 select HAVE_FB_ATMEL 75 select HAVE_FB_ATMEL
77 select HAVE_NET_MACB 76 select HAVE_NET_MACB
78 select HAVE_AT91_DBGU1
79 help 77 help
80 Select this if you are using one of Atmel's AT91SAM9G45 family SoC. 78 Select this if you are using one of Atmel's AT91SAM9G45 family SoC.
81 This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. 79 This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
82 80
83config ARCH_AT91SAM9X5 81config SOC_AT91SAM9X5
84 bool "AT91SAM9x5 family" 82 bool "AT91SAM9x5 family"
85 select SOC_AT91SAM9 83 select SOC_AT91SAM9
84 select HAVE_AT91_DBGU0
86 select HAVE_FB_ATMEL 85 select HAVE_FB_ATMEL
87 select HAVE_NET_MACB 86 select HAVE_NET_MACB
88 select HAVE_AT91_DBGU0
89 help 87 help
90 Select this if you are using one of Atmel's AT91SAM9x5 family SoC. 88 Select this if you are using one of Atmel's AT91SAM9x5 family SoC.
91 This means that your SAM9 name finishes with a '5' (except if it is 89 This means that your SAM9 name finishes with a '5' (except if it is
@@ -93,8 +91,47 @@ config ARCH_AT91SAM9X5
93 This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 91 This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35
94 and AT91SAM9X35. 92 and AT91SAM9X35.
95 93
94choice
95 prompt "Atmel AT91 Processor Devices for non DT boards"
96
97config ARCH_AT91_NONE
98 bool "None"
99
100config ARCH_AT91RM9200
101 bool "AT91RM9200"
102 select SOC_AT91RM9200
103
104config ARCH_AT91SAM9260
105 bool "AT91SAM9260 or AT91SAM9XE"
106 select SOC_AT91SAM9260
107
108config ARCH_AT91SAM9261
109 bool "AT91SAM9261"
110 select SOC_AT91SAM9261
111
112config ARCH_AT91SAM9G10
113 bool "AT91SAM9G10"
114 select SOC_AT91SAM9261
115
116config ARCH_AT91SAM9263
117 bool "AT91SAM9263"
118 select SOC_AT91SAM9263
119
120config ARCH_AT91SAM9RL
121 bool "AT91SAM9RL"
122 select SOC_AT91SAM9RL
123
124config ARCH_AT91SAM9G20
125 bool "AT91SAM9G20"
126 select SOC_AT91SAM9260
127
128config ARCH_AT91SAM9G45
129 bool "AT91SAM9G45"
130 select SOC_AT91SAM9G45
131
96config ARCH_AT91X40 132config ARCH_AT91X40
97 bool "AT91x40" 133 bool "AT91x40"
134 depends on !MMU
98 select ARCH_USES_GETTIMEOFFSET 135 select ARCH_USES_GETTIMEOFFSET
99 136
100endchoice 137endchoice