aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r--arch/arm/mach-omap2/board-generic.c12
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 ad497620539b..d32b5935233f 100644
--- a/arch/arm/mach-omap2/board-generic.c
+++ b/arch/arm/mach-omap2/board-generic.c
@@ -91,14 +91,13 @@ static void __init omap3_init(void)
91} 91}
92#endif 92#endif
93 93
94#if defined(CONFIG_SOC_OMAP2420) 94#ifdef CONFIG_SOC_OMAP2420
95static const char *omap242x_boards_compat[] __initdata = { 95static const char *omap242x_boards_compat[] __initdata = {
96 "ti,omap2420", 96 "ti,omap2420",
97 NULL, 97 NULL,
98}; 98};
99 99
100DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") 100DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)")
101 .atag_offset = 0x100,
102 .reserve = omap_reserve, 101 .reserve = omap_reserve,
103 .map_io = omap242x_map_io, 102 .map_io = omap242x_map_io,
104 .init_early = omap2420_init_early, 103 .init_early = omap2420_init_early,
@@ -111,14 +110,13 @@ DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)")
111MACHINE_END 110MACHINE_END
112#endif 111#endif
113 112
114#if defined(CONFIG_SOC_OMAP2430) 113#ifdef CONFIG_SOC_OMAP2430
115static const char *omap243x_boards_compat[] __initdata = { 114static const char *omap243x_boards_compat[] __initdata = {
116 "ti,omap2430", 115 "ti,omap2430",
117 NULL, 116 NULL,
118}; 117};
119 118
120DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") 119DT_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,
@@ -131,14 +129,13 @@ DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)")
131MACHINE_END 129MACHINE_END
132#endif 130#endif
133 131
134#if defined(CONFIG_ARCH_OMAP3) 132#ifdef CONFIG_ARCH_OMAP3
135static const char *omap3_boards_compat[] __initdata = { 133static const char *omap3_boards_compat[] __initdata = {
136 "ti,omap3", 134 "ti,omap3",
137 NULL, 135 NULL,
138}; 136};
139 137
140DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") 138DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)")
141 .atag_offset = 0x100,
142 .reserve = omap_reserve, 139 .reserve = omap_reserve,
143 .map_io = omap3_map_io, 140 .map_io = omap3_map_io,
144 .init_early = omap3430_init_early, 141 .init_early = omap3430_init_early,
@@ -151,14 +148,13 @@ DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)")
151MACHINE_END 148MACHINE_END
152#endif 149#endif
153 150
154#if defined(CONFIG_ARCH_OMAP4) 151#ifdef CONFIG_ARCH_OMAP4
155static const char *omap4_boards_compat[] __initdata = { 152static const char *omap4_boards_compat[] __initdata = {
156 "ti,omap4", 153 "ti,omap4",
157 NULL, 154 NULL,
158}; 155};
159 156
160DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") 157DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)")
161 .atag_offset = 0x100,
162 .reserve = omap_reserve, 158 .reserve = omap_reserve,
163 .map_io = omap4_map_io, 159 .map_io = omap4_map_io,
164 .init_early = omap4430_init_early, 160 .init_early = omap4430_init_early,