diff options
author | Tony Lindgren <tony@atomide.com> | 2005-07-10 14:58:08 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-07-10 14:58:08 -0400 |
commit | b288f75ffa6f26f720d0c69fcd09b4ee7122e17b (patch) | |
tree | eb0f051be6693ed4436d23296a9caba2c88d13a7 /arch/arm/mach-omap1 | |
parent | af973d2aff6008bc7500277eb5a523db579731c6 (diff) |
[PATCH] ARM: 2798/1: OMAP update 2/11: Change ARM Kconfig to support omap1 and omap2
Patch from Tony Lindgren
This patch by Paul Mundt and other OMAP developers modifies
ARM specific Kconfig to allow sharing code between OMAP1 and
OMAP2 architectures.
In order to share code between OMAP1 and OMAP2, all OMAP1
specific code is moved into mach-omap1 directory in the
following patch. A new mach-omap2 directory will be added
later on.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1')
-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 | 3 |
3 files changed, 177 insertions, 0 deletions
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-omap1/Makefile.boot b/arch/arm/mach-omap1/Makefile.boot new file mode 100644 index 000000000000..292d56c5a888 --- /dev/null +++ b/arch/arm/mach-omap1/Makefile.boot | |||
@@ -0,0 +1,3 @@ | |||
1 | zreladdr-y := 0x10008000 | ||
2 | params_phys-y := 0x10000100 | ||
3 | initrd_phys-y := 0x10800000 | ||