diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-17 18:12:36 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-17 18:12:36 -0500 |
commit | 4d68c05ce11f4cdf6a6392f3a18dc6a985b4d0c4 (patch) | |
tree | 72e500b97c4bdcb9631209f3121f42b05ae30fea /arch/arm/mach-omap2/board-generic.c | |
parent | 40c0591f0a349ec074357e05c6ab1a3bc951807c (diff) | |
parent | 19bfb76ca32f8e4fa80746608ff4a77707f40520 (diff) |
Merge branch 'for_3.4/dt_base' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into dt
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index e493877957c9..d32b5935233f 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -70,7 +70,6 @@ static void __init omap_generic_init(void) | |||
70 | if (node) | 70 | if (node) |
71 | irq_domain_add_simple(node, 0); | 71 | irq_domain_add_simple(node, 0); |
72 | 72 | ||
73 | omap_serial_init(); | ||
74 | omap_sdrc_init(NULL, NULL); | 73 | omap_sdrc_init(NULL, NULL); |
75 | 74 | ||
76 | of_platform_populate(NULL, omap_dt_match_table, NULL, NULL); | 75 | of_platform_populate(NULL, omap_dt_match_table, NULL, NULL); |
@@ -92,14 +91,13 @@ static void __init omap3_init(void) | |||
92 | } | 91 | } |
93 | #endif | 92 | #endif |
94 | 93 | ||
95 | #if defined(CONFIG_SOC_OMAP2420) | 94 | #ifdef CONFIG_SOC_OMAP2420 |
96 | static const char *omap242x_boards_compat[] __initdata = { | 95 | static const char *omap242x_boards_compat[] __initdata = { |
97 | "ti,omap2420", | 96 | "ti,omap2420", |
98 | NULL, | 97 | NULL, |
99 | }; | 98 | }; |
100 | 99 | ||
101 | DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") | 100 | DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") |
102 | .atag_offset = 0x100, | ||
103 | .reserve = omap_reserve, | 101 | .reserve = omap_reserve, |
104 | .map_io = omap242x_map_io, | 102 | .map_io = omap242x_map_io, |
105 | .init_early = omap2420_init_early, | 103 | .init_early = omap2420_init_early, |
@@ -108,17 +106,17 @@ DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") | |||
108 | .init_machine = omap_generic_init, | 106 | .init_machine = omap_generic_init, |
109 | .timer = &omap2_timer, | 107 | .timer = &omap2_timer, |
110 | .dt_compat = omap242x_boards_compat, | 108 | .dt_compat = omap242x_boards_compat, |
109 | .restart = omap_prcm_restart, | ||
111 | MACHINE_END | 110 | MACHINE_END |
112 | #endif | 111 | #endif |
113 | 112 | ||
114 | #if defined(CONFIG_SOC_OMAP2430) | 113 | #ifdef CONFIG_SOC_OMAP2430 |
115 | static const char *omap243x_boards_compat[] __initdata = { | 114 | static const char *omap243x_boards_compat[] __initdata = { |
116 | "ti,omap2430", | 115 | "ti,omap2430", |
117 | NULL, | 116 | NULL, |
118 | }; | 117 | }; |
119 | 118 | ||
120 | DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") | 119 | DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") |
121 | .atag_offset = 0x100, | ||
122 | .reserve = omap_reserve, | 120 | .reserve = omap_reserve, |
123 | .map_io = omap243x_map_io, | 121 | .map_io = omap243x_map_io, |
124 | .init_early = omap2430_init_early, | 122 | .init_early = omap2430_init_early, |
@@ -127,17 +125,17 @@ DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") | |||
127 | .init_machine = omap_generic_init, | 125 | .init_machine = omap_generic_init, |
128 | .timer = &omap2_timer, | 126 | .timer = &omap2_timer, |
129 | .dt_compat = omap243x_boards_compat, | 127 | .dt_compat = omap243x_boards_compat, |
128 | .restart = omap_prcm_restart, | ||
130 | MACHINE_END | 129 | MACHINE_END |
131 | #endif | 130 | #endif |
132 | 131 | ||
133 | #if defined(CONFIG_ARCH_OMAP3) | 132 | #ifdef CONFIG_ARCH_OMAP3 |
134 | static const char *omap3_boards_compat[] __initdata = { | 133 | static const char *omap3_boards_compat[] __initdata = { |
135 | "ti,omap3", | 134 | "ti,omap3", |
136 | NULL, | 135 | NULL, |
137 | }; | 136 | }; |
138 | 137 | ||
139 | DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") | 138 | DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") |
140 | .atag_offset = 0x100, | ||
141 | .reserve = omap_reserve, | 139 | .reserve = omap_reserve, |
142 | .map_io = omap3_map_io, | 140 | .map_io = omap3_map_io, |
143 | .init_early = omap3430_init_early, | 141 | .init_early = omap3430_init_early, |
@@ -146,17 +144,17 @@ DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") | |||
146 | .init_machine = omap3_init, | 144 | .init_machine = omap3_init, |
147 | .timer = &omap3_timer, | 145 | .timer = &omap3_timer, |
148 | .dt_compat = omap3_boards_compat, | 146 | .dt_compat = omap3_boards_compat, |
147 | .restart = omap_prcm_restart, | ||
149 | MACHINE_END | 148 | MACHINE_END |
150 | #endif | 149 | #endif |
151 | 150 | ||
152 | #if defined(CONFIG_ARCH_OMAP4) | 151 | #ifdef CONFIG_ARCH_OMAP4 |
153 | static const char *omap4_boards_compat[] __initdata = { | 152 | static const char *omap4_boards_compat[] __initdata = { |
154 | "ti,omap4", | 153 | "ti,omap4", |
155 | NULL, | 154 | NULL, |
156 | }; | 155 | }; |
157 | 156 | ||
158 | DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") | 157 | DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") |
159 | .atag_offset = 0x100, | ||
160 | .reserve = omap_reserve, | 158 | .reserve = omap_reserve, |
161 | .map_io = omap4_map_io, | 159 | .map_io = omap4_map_io, |
162 | .init_early = omap4430_init_early, | 160 | .init_early = omap4430_init_early, |
@@ -165,5 +163,6 @@ DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") | |||
165 | .init_machine = omap4_init, | 163 | .init_machine = omap4_init, |
166 | .timer = &omap4_timer, | 164 | .timer = &omap4_timer, |
167 | .dt_compat = omap4_boards_compat, | 165 | .dt_compat = omap4_boards_compat, |
166 | .restart = omap_prcm_restart, | ||
168 | MACHINE_END | 167 | MACHINE_END |
169 | #endif | 168 | #endif |