diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap/Kconfig | 138 | ||||
-rw-r--r-- | arch/arm/mach-omap/Makefile | 26 | ||||
-rw-r--r-- | arch/arm/mach-omap1/Kconfig | 144 | ||||
-rw-r--r-- | arch/arm/mach-omap1/Makefile | 30 | ||||
-rw-r--r-- | arch/arm/mach-omap1/Makefile.boot (renamed from arch/arm/mach-omap/Makefile.boot) | 1 | ||||
-rw-r--r-- | arch/arm/mm/Kconfig | 2 |
6 files changed, 184 insertions, 157 deletions
diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig index 9e42efa66b2b..a72fe55b513b 100644 --- a/arch/arm/mach-omap/Kconfig +++ b/arch/arm/mach-omap/Kconfig | |||
@@ -2,102 +2,23 @@ if ARCH_OMAP | |||
2 | 2 | ||
3 | menu "TI OMAP Implementations" | 3 | menu "TI OMAP Implementations" |
4 | 4 | ||
5 | comment "OMAP Core Type" | ||
6 | |||
7 | config ARCH_OMAP730 | ||
8 | depends on ARCH_OMAP | ||
9 | bool "OMAP730 Based System" | ||
10 | select ARCH_OMAP_OTG | ||
11 | |||
12 | config ARCH_OMAP1510 | ||
13 | depends on ARCH_OMAP | ||
14 | default y | ||
15 | bool "OMAP1510 Based System" | ||
16 | |||
17 | config ARCH_OMAP16XX | ||
18 | depends on ARCH_OMAP | ||
19 | bool "OMAP16XX Based System" | ||
20 | select ARCH_OMAP_OTG | ||
21 | |||
22 | config ARCH_OMAP_OTG | 5 | config ARCH_OMAP_OTG |
23 | bool | 6 | bool |
24 | 7 | ||
25 | comment "OMAP Board Type" | 8 | choice |
26 | 9 | prompt "OMAP System Type" | |
27 | config MACH_OMAP_INNOVATOR | 10 | default ARCH_OMAP1 |
28 | bool "TI Innovator" | ||
29 | depends on ARCH_OMAP1510 || ARCH_OMAP16XX | ||
30 | help | ||
31 | TI OMAP 1510 or 1610 Innovator board support. Say Y here if you | ||
32 | have such a board. | ||
33 | |||
34 | config MACH_OMAP_H2 | ||
35 | bool "TI H2 Support" | ||
36 | depends on ARCH_OMAP16XX | ||
37 | help | ||
38 | TI OMAP 1610/1611B H2 board support. Say Y here if you have such | ||
39 | a board. | ||
40 | |||
41 | config MACH_OMAP_H3 | ||
42 | bool "TI H3 Support" | ||
43 | depends on ARCH_OMAP16XX | ||
44 | help | ||
45 | TI OMAP 1710 H3 board support. Say Y here if you have such | ||
46 | a board. | ||
47 | |||
48 | config MACH_OMAP_H4 | ||
49 | bool "TI H4 Support" | ||
50 | depends on ARCH_OMAP16XX | ||
51 | help | ||
52 | TI OMAP 1610 H4 board support. Say Y here if you have such | ||
53 | a board. | ||
54 | 11 | ||
55 | config MACH_OMAP_OSK | 12 | config ARCH_OMAP1 |
56 | bool "TI OSK Support" | 13 | bool "TI OMAP1" |
57 | depends on ARCH_OMAP16XX | ||
58 | help | ||
59 | TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here | ||
60 | if you have such a board. | ||
61 | |||
62 | config MACH_OMAP_PERSEUS2 | ||
63 | bool "TI Perseus2" | ||
64 | depends on ARCH_OMAP730 | ||
65 | help | ||
66 | Support for TI OMAP 730 Perseus2 board. Say Y here if you have such | ||
67 | a board. | ||
68 | |||
69 | config MACH_VOICEBLUE | ||
70 | bool "Voiceblue" | ||
71 | depends on ARCH_OMAP1510 | ||
72 | help | ||
73 | Support for Voiceblue GSM/VoIP gateway. Say Y here if you have such | ||
74 | board. | ||
75 | 14 | ||
76 | config MACH_NETSTAR | 15 | config ARCH_OMAP2 |
77 | bool "NetStar" | 16 | bool "TI OMAP2" |
78 | depends on ARCH_OMAP1510 | ||
79 | help | ||
80 | Support for NetStar PBX. Say Y here if you have such a board. | ||
81 | 17 | ||
82 | config MACH_OMAP_GENERIC | 18 | endchoice |
83 | bool "Generic OMAP board" | ||
84 | depends on ARCH_OMAP1510 || ARCH_OMAP16XX | ||
85 | help | ||
86 | Support for generic OMAP-1510, 1610 or 1710 board with | ||
87 | no FPGA. Can be used as template for porting Linux to | ||
88 | custom OMAP boards. Say Y here if you have a custom | ||
89 | board. | ||
90 | 19 | ||
91 | comment "OMAP Feature Selections" | 20 | comment "OMAP Feature Selections" |
92 | 21 | ||
93 | #config OMAP_BOOT_TAG | ||
94 | # bool "OMAP bootloader information passing" | ||
95 | # depends on ARCH_OMAP | ||
96 | # default n | ||
97 | # help | ||
98 | # Say Y, if you have a bootloader which passes information | ||
99 | # about your board and its peripheral configuration. | ||
100 | |||
101 | config OMAP_MUX | 22 | config OMAP_MUX |
102 | bool "OMAP multiplexing support" | 23 | bool "OMAP multiplexing support" |
103 | depends on ARCH_OMAP | 24 | depends on ARCH_OMAP |
@@ -173,49 +94,6 @@ config OMAP_LL_DEBUG_UART3 | |||
173 | 94 | ||
174 | endchoice | 95 | endchoice |
175 | 96 | ||
176 | config OMAP_ARM_195MHZ | ||
177 | bool "OMAP ARM 195 MHz CPU" | ||
178 | depends on ARCH_OMAP730 | ||
179 | help | ||
180 | Enable 195MHz clock for OMAP CPU. If unsure, say N. | ||
181 | |||
182 | config OMAP_ARM_192MHZ | ||
183 | bool "OMAP ARM 192 MHz CPU" | ||
184 | depends on ARCH_OMAP16XX | ||
185 | help | ||
186 | Enable 192MHz clock for OMAP CPU. If unsure, say N. | ||
187 | |||
188 | config OMAP_ARM_182MHZ | ||
189 | bool "OMAP ARM 182 MHz CPU" | ||
190 | depends on ARCH_OMAP730 | ||
191 | help | ||
192 | Enable 182MHz clock for OMAP CPU. If unsure, say N. | ||
193 | |||
194 | config OMAP_ARM_168MHZ | ||
195 | bool "OMAP ARM 168 MHz CPU" | ||
196 | depends on ARCH_OMAP1510 || ARCH_OMAP16XX || ARCH_OMAP730 | ||
197 | help | ||
198 | Enable 168MHz clock for OMAP CPU. If unsure, say N. | ||
199 | |||
200 | config OMAP_ARM_120MHZ | ||
201 | bool "OMAP ARM 120 MHz CPU" | ||
202 | depends on ARCH_OMAP1510 || ARCH_OMAP16XX || ARCH_OMAP730 | ||
203 | help | ||
204 | Enable 120MHz clock for OMAP CPU. If unsure, say N. | ||
205 | |||
206 | config OMAP_ARM_60MHZ | ||
207 | bool "OMAP ARM 60 MHz CPU" | ||
208 | depends on ARCH_OMAP1510 || ARCH_OMAP16XX || ARCH_OMAP730 | ||
209 | default y | ||
210 | help | ||
211 | Enable 60MHz clock for OMAP CPU. If unsure, say Y. | ||
212 | |||
213 | config OMAP_ARM_30MHZ | ||
214 | bool "OMAP ARM 30 MHz CPU" | ||
215 | depends on ARCH_OMAP1510 || ARCH_OMAP16XX || ARCH_OMAP730 | ||
216 | help | ||
217 | Enable 30MHz clock for OMAP CPU. If unsure, say N. | ||
218 | |||
219 | endmenu | 97 | endmenu |
220 | 98 | ||
221 | endif | 99 | endif |
diff --git a/arch/arm/mach-omap/Makefile b/arch/arm/mach-omap/Makefile index 4cafb11d2c02..3be25ebfc45e 100644 --- a/arch/arm/mach-omap/Makefile +++ b/arch/arm/mach-omap/Makefile | |||
@@ -3,38 +3,14 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | # Common support | 5 | # Common support |
6 | obj-y := common.o time.o irq.o dma.o clock.o mux.o gpio.o mcbsp.o usb.o | 6 | obj-y := common.o dma.o clock.o mux.o gpio.o mcbsp.o usb.o |
7 | obj-m := | 7 | obj-m := |
8 | obj-n := | 8 | obj-n := |
9 | obj- := | 9 | obj- := |
10 | led-y := leds.o | ||
11 | |||
12 | # Specific board support | ||
13 | obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o | ||
14 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o | ||
15 | obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o | ||
16 | obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o | ||
17 | obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o | ||
18 | obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o | ||
19 | obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o | ||
20 | obj-$(CONFIG_MACH_NETSTAR) += board-netstar.o | ||
21 | 10 | ||
22 | # OCPI interconnect support for 1710, 1610 and 5912 | 11 | # OCPI interconnect support for 1710, 1610 and 5912 |
23 | obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o | 12 | obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o |
24 | 13 | ||
25 | # LEDs support | ||
26 | led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o | ||
27 | led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o | ||
28 | led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o | ||
29 | obj-$(CONFIG_LEDS) += $(led-y) | ||
30 | |||
31 | # Power Management | 14 | # Power Management |
32 | obj-$(CONFIG_PM) += pm.o sleep.o | 15 | obj-$(CONFIG_PM) += pm.o sleep.o |
33 | 16 | ||
34 | ifeq ($(CONFIG_ARCH_OMAP1510),y) | ||
35 | # Innovator-1510 FPGA | ||
36 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o | ||
37 | endif | ||
38 | |||
39 | # kgdb support | ||
40 | obj-$(CONFIG_KGDB_SERIAL) += kgdb-serial.o | ||
diff --git a/arch/arm/mach-omap1/Kconfig b/arch/arm/mach-omap1/Kconfig new file mode 100644 index 000000000000..7408ac94f771 --- /dev/null +++ b/arch/arm/mach-omap1/Kconfig | |||
@@ -0,0 +1,144 @@ | |||
1 | comment "OMAP Core Type" | ||
2 | depends on ARCH_OMAP1 | ||
3 | |||
4 | config ARCH_OMAP730 | ||
5 | depends on ARCH_OMAP1 | ||
6 | bool "OMAP730 Based System" | ||
7 | select ARCH_OMAP_OTG | ||
8 | |||
9 | config ARCH_OMAP1510 | ||
10 | depends on ARCH_OMAP1 | ||
11 | default y | ||
12 | bool "OMAP1510 Based System" | ||
13 | |||
14 | config ARCH_OMAP16XX | ||
15 | depends on ARCH_OMAP1 | ||
16 | bool "OMAP16xx Based System" | ||
17 | select ARCH_OMAP_OTG | ||
18 | |||
19 | comment "OMAP Board Type" | ||
20 | depends on ARCH_OMAP1 | ||
21 | |||
22 | config MACH_OMAP_INNOVATOR | ||
23 | bool "TI Innovator" | ||
24 | depends on ARCH_OMAP1 && (ARCH_OMAP1510 || ARCH_OMAP16XX) | ||
25 | help | ||
26 | TI OMAP 1510 or 1610 Innovator board support. Say Y here if you | ||
27 | have such a board. | ||
28 | |||
29 | config MACH_OMAP_H2 | ||
30 | bool "TI H2 Support" | ||
31 | depends on ARCH_OMAP1 && ARCH_OMAP16XX | ||
32 | help | ||
33 | TI OMAP 1610/1611B H2 board support. Say Y here if you have such | ||
34 | a board. | ||
35 | |||
36 | config MACH_OMAP_H3 | ||
37 | bool "TI H3 Support" | ||
38 | depends on ARCH_OMAP1 && ARCH_OMAP16XX | ||
39 | help | ||
40 | TI OMAP 1710 H3 board support. Say Y here if you have such | ||
41 | a board. | ||
42 | |||
43 | config MACH_OMAP_OSK | ||
44 | bool "TI OSK Support" | ||
45 | depends on ARCH_OMAP1 && ARCH_OMAP16XX | ||
46 | help | ||
47 | TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here | ||
48 | if you have such a board. | ||
49 | |||
50 | config MACH_OMAP_PERSEUS2 | ||
51 | bool "TI Perseus2" | ||
52 | depends on ARCH_OMAP1 && ARCH_OMAP730 | ||
53 | help | ||
54 | Support for TI OMAP 730 Perseus2 board. Say Y here if you have such | ||
55 | a board. | ||
56 | |||
57 | config MACH_VOICEBLUE | ||
58 | bool "Voiceblue" | ||
59 | depends on ARCH_OMAP1 && ARCH_OMAP1510 | ||
60 | help | ||
61 | Support for Voiceblue GSM/VoIP gateway. Say Y here if you have | ||
62 | such a board. | ||
63 | |||
64 | config MACH_NETSTAR | ||
65 | bool "NetStar" | ||
66 | depends on ARCH_OMAP1 && ARCH_OMAP1510 | ||
67 | help | ||
68 | Support for NetStar PBX. Say Y here if you have such a board. | ||
69 | |||
70 | config MACH_OMAP_GENERIC | ||
71 | bool "Generic OMAP board" | ||
72 | depends on ARCH_OMAP1 && (ARCH_OMAP1510 || ARCH_OMAP16XX) | ||
73 | help | ||
74 | Support for generic OMAP-1510, 1610 or 1710 board with | ||
75 | no FPGA. Can be used as template for porting Linux to | ||
76 | custom OMAP boards. Say Y here if you have a custom | ||
77 | board. | ||
78 | |||
79 | comment "OMAP CPU Speed" | ||
80 | depends on ARCH_OMAP1 | ||
81 | |||
82 | config OMAP_CLOCKS_SET_BY_BOOTLOADER | ||
83 | bool "OMAP clocks set by bootloader" | ||
84 | depends on ARCH_OMAP1 | ||
85 | help | ||
86 | Enable this option to prevent the kernel from overriding the clock | ||
87 | frequencies programmed by bootloader for MPU, DSP, MMUs, TC, | ||
88 | internal LCD controller and MPU peripherals. | ||
89 | |||
90 | config OMAP_ARM_216MHZ | ||
91 | bool "OMAP ARM 216 MHz CPU (1710 only)" | ||
92 | depends on ARCH_OMAP1 && ARCH_OMAP16XX | ||
93 | help | ||
94 | Enable 216 MHz clock for OMAP1710 CPU. If unsure, say N. | ||
95 | |||
96 | config OMAP_ARM_195MHZ | ||
97 | bool "OMAP ARM 195 MHz CPU" | ||
98 | depends on ARCH_OMAP1 && ARCH_OMAP730 | ||
99 | help | ||
100 | Enable 195MHz clock for OMAP CPU. If unsure, say N. | ||
101 | |||
102 | config OMAP_ARM_192MHZ | ||
103 | bool "OMAP ARM 192 MHz CPU" | ||
104 | depends on ARCH_OMAP1 && ARCH_OMAP16XX | ||
105 | help | ||
106 | Enable 192MHz clock for OMAP CPU. If unsure, say N. | ||
107 | |||
108 | config OMAP_ARM_182MHZ | ||
109 | bool "OMAP ARM 182 MHz CPU" | ||
110 | depends on ARCH_OMAP1 && ARCH_OMAP730 | ||
111 | help | ||
112 | Enable 182MHz clock for OMAP CPU. If unsure, say N. | ||
113 | |||
114 | config OMAP_ARM_168MHZ | ||
115 | bool "OMAP ARM 168 MHz CPU" | ||
116 | depends on ARCH_OMAP1 && (ARCH_OMAP1510 || ARCH_OMAP16XX || ARCH_OMAP730) | ||
117 | help | ||
118 | Enable 168MHz clock for OMAP CPU. If unsure, say N. | ||
119 | |||
120 | config OMAP_ARM_150MHZ | ||
121 | bool "OMAP ARM 150 MHz CPU" | ||
122 | depends on ARCH_OMAP1 && ARCH_OMAP1510 | ||
123 | help | ||
124 | Enable 150MHz clock for OMAP CPU. If unsure, say N. | ||
125 | |||
126 | config OMAP_ARM_120MHZ | ||
127 | bool "OMAP ARM 120 MHz CPU" | ||
128 | depends on ARCH_OMAP1 && (ARCH_OMAP1510 || ARCH_OMAP16XX || ARCH_OMAP730) | ||
129 | help | ||
130 | Enable 120MHz clock for OMAP CPU. If unsure, say N. | ||
131 | |||
132 | config OMAP_ARM_60MHZ | ||
133 | bool "OMAP ARM 60 MHz CPU" | ||
134 | depends on ARCH_OMAP1 && (ARCH_OMAP1510 || ARCH_OMAP16XX || ARCH_OMAP730) | ||
135 | default y | ||
136 | help | ||
137 | Enable 60MHz clock for OMAP CPU. If unsure, say Y. | ||
138 | |||
139 | config OMAP_ARM_30MHZ | ||
140 | bool "OMAP ARM 30 MHz CPU" | ||
141 | depends on ARCH_OMAP1 && (ARCH_OMAP1510 || ARCH_OMAP16XX || ARCH_OMAP730) | ||
142 | help | ||
143 | Enable 30MHz clock for OMAP CPU. If unsure, say N. | ||
144 | |||
diff --git a/arch/arm/mach-omap1/Makefile b/arch/arm/mach-omap1/Makefile new file mode 100644 index 000000000000..d386fd913f0c --- /dev/null +++ b/arch/arm/mach-omap1/Makefile | |||
@@ -0,0 +1,30 @@ | |||
1 | # | ||
2 | # Makefile for the linux kernel. | ||
3 | # | ||
4 | |||
5 | # Common support | ||
6 | obj-y := io.o id.o irq.o time.o serial.o | ||
7 | led-y := leds.o | ||
8 | |||
9 | # Specific board support | ||
10 | obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o | ||
11 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o | ||
12 | obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o | ||
13 | obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o | ||
14 | obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o | ||
15 | obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o | ||
16 | obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o | ||
17 | obj-$(CONFIG_MACH_NETSTAR) += board-netstar.o | ||
18 | |||
19 | ifeq ($(CONFIG_ARCH_OMAP1510),y) | ||
20 | # Innovator-1510 FPGA | ||
21 | obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o | ||
22 | endif | ||
23 | |||
24 | # LEDs support | ||
25 | led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o | ||
26 | led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o | ||
27 | led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o | ||
28 | led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o | ||
29 | obj-$(CONFIG_LEDS) += $(led-y) | ||
30 | |||
diff --git a/arch/arm/mach-omap/Makefile.boot b/arch/arm/mach-omap1/Makefile.boot index fee1a6a15b54..292d56c5a888 100644 --- a/arch/arm/mach-omap/Makefile.boot +++ b/arch/arm/mach-omap1/Makefile.boot | |||
@@ -1,4 +1,3 @@ | |||
1 | zreladdr-y := 0x10008000 | 1 | zreladdr-y := 0x10008000 |
2 | params_phys-y := 0x10000100 | 2 | params_phys-y := 0x10000100 |
3 | initrd_phys-y := 0x10800000 | 3 | initrd_phys-y := 0x10800000 |
4 | |||
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 95606b4a3ba6..afbbeb6f4658 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -101,7 +101,7 @@ config CPU_ARM922T | |||
101 | 101 | ||
102 | # ARM925T | 102 | # ARM925T |
103 | config CPU_ARM925T | 103 | config CPU_ARM925T |
104 | bool "Support ARM925T processor" if ARCH_OMAP | 104 | bool "Support ARM925T processor" if ARCH_OMAP1 |
105 | depends on ARCH_OMAP1510 | 105 | depends on ARCH_OMAP1510 |
106 | default y if ARCH_OMAP1510 | 106 | default y if ARCH_OMAP1510 |
107 | select CPU_32v4 | 107 | select CPU_32v4 |