diff options
author | Benoit Cousson <b-cousson@ti.com> | 2011-12-01 05:05:17 -0500 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-02-16 06:04:34 -0500 |
commit | 0e02a8c1a5a5aea8b0fd8c16dd7d1ac2de641275 (patch) | |
tree | a05dd2650ca75cbc0ca6e0712f1c489ff09dcc72 /arch/arm/mach-omap2/board-generic.c | |
parent | d65b4e98d7ea3038b767b70fe8be959b2913f16d (diff) |
ARM: OMAP2+: board-generic: Remove un-needed .atag_offset for DT_MACHINE
Some .atag_offset entries were wrongly added during a merge conflict
resolution in 3.3.
Remove them all, since DT boot does not use that attribute anymore.
Replace as well the #if... by #ifdef for consistency.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index d58756060483..9d25cb6c9a0d 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -90,14 +90,13 @@ static void __init omap3_init(void) | |||
90 | } | 90 | } |
91 | #endif | 91 | #endif |
92 | 92 | ||
93 | #if defined(CONFIG_SOC_OMAP2420) | 93 | #ifdef CONFIG_SOC_OMAP2420 |
94 | static const char *omap242x_boards_compat[] __initdata = { | 94 | static const char *omap242x_boards_compat[] __initdata = { |
95 | "ti,omap2420", | 95 | "ti,omap2420", |
96 | NULL, | 96 | NULL, |
97 | }; | 97 | }; |
98 | 98 | ||
99 | DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") | 99 | DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") |
100 | .atag_offset = 0x100, | ||
101 | .reserve = omap_reserve, | 100 | .reserve = omap_reserve, |
102 | .map_io = omap242x_map_io, | 101 | .map_io = omap242x_map_io, |
103 | .init_early = omap2420_init_early, | 102 | .init_early = omap2420_init_early, |
@@ -109,14 +108,13 @@ DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") | |||
109 | MACHINE_END | 108 | MACHINE_END |
110 | #endif | 109 | #endif |
111 | 110 | ||
112 | #if defined(CONFIG_SOC_OMAP2430) | 111 | #ifdef CONFIG_SOC_OMAP2430 |
113 | static const char *omap243x_boards_compat[] __initdata = { | 112 | static const char *omap243x_boards_compat[] __initdata = { |
114 | "ti,omap2430", | 113 | "ti,omap2430", |
115 | NULL, | 114 | NULL, |
116 | }; | 115 | }; |
117 | 116 | ||
118 | DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") | 117 | DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") |
119 | .atag_offset = 0x100, | ||
120 | .reserve = omap_reserve, | 118 | .reserve = omap_reserve, |
121 | .map_io = omap243x_map_io, | 119 | .map_io = omap243x_map_io, |
122 | .init_early = omap2430_init_early, | 120 | .init_early = omap2430_init_early, |
@@ -129,14 +127,13 @@ DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") | |||
129 | MACHINE_END | 127 | MACHINE_END |
130 | #endif | 128 | #endif |
131 | 129 | ||
132 | #if defined(CONFIG_ARCH_OMAP3) | 130 | #ifdef CONFIG_ARCH_OMAP3 |
133 | static const char *omap3_boards_compat[] __initdata = { | 131 | static const char *omap3_boards_compat[] __initdata = { |
134 | "ti,omap3", | 132 | "ti,omap3", |
135 | NULL, | 133 | NULL, |
136 | }; | 134 | }; |
137 | 135 | ||
138 | DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") | 136 | DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") |
139 | .atag_offset = 0x100, | ||
140 | .reserve = omap_reserve, | 137 | .reserve = omap_reserve, |
141 | .map_io = omap3_map_io, | 138 | .map_io = omap3_map_io, |
142 | .init_early = omap3430_init_early, | 139 | .init_early = omap3430_init_early, |
@@ -148,14 +145,13 @@ DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") | |||
148 | MACHINE_END | 145 | MACHINE_END |
149 | #endif | 146 | #endif |
150 | 147 | ||
151 | #if defined(CONFIG_ARCH_OMAP4) | 148 | #ifdef CONFIG_ARCH_OMAP4 |
152 | static const char *omap4_boards_compat[] __initdata = { | 149 | static const char *omap4_boards_compat[] __initdata = { |
153 | "ti,omap4", | 150 | "ti,omap4", |
154 | NULL, | 151 | NULL, |
155 | }; | 152 | }; |
156 | 153 | ||
157 | DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") | 154 | DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") |
158 | .atag_offset = 0x100, | ||
159 | .reserve = omap_reserve, | 155 | .reserve = omap_reserve, |
160 | .map_io = omap4_map_io, | 156 | .map_io = omap4_map_io, |
161 | .init_early = omap4430_init_early, | 157 | .init_early = omap4430_init_early, |