diff options
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r-- | arch/arm/mach-omap1/devices.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap1/io.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 36f26c3fa25e..38e1142ba71f 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <mach/hardware.h> | 21 | #include <mach/hardware.h> |
22 | #include <asm/mach/map.h> | 22 | #include <asm/mach/map.h> |
23 | 23 | ||
24 | #include <plat/common.h> | ||
24 | #include <plat/tc.h> | 25 | #include <plat/tc.h> |
25 | #include <plat/board.h> | 26 | #include <plat/board.h> |
26 | #include <plat/mux.h> | 27 | #include <plat/mux.h> |
@@ -291,6 +292,8 @@ static int __init omap1_init_devices(void) | |||
291 | if (!cpu_class_is_omap1()) | 292 | if (!cpu_class_is_omap1()) |
292 | return -ENODEV; | 293 | return -ENODEV; |
293 | 294 | ||
295 | omap_sram_init(); | ||
296 | |||
294 | /* please keep these calls, and their implementations above, | 297 | /* please keep these calls, and their implementations above, |
295 | * in alphabetical order so they're easier to sort through. | 298 | * in alphabetical order so they're easier to sort through. |
296 | */ | 299 | */ |
diff --git a/arch/arm/mach-omap1/io.c b/arch/arm/mach-omap1/io.c index a16aab71922c..8140a4ed66e4 100644 --- a/arch/arm/mach-omap1/io.c +++ b/arch/arm/mach-omap1/io.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include "clock.h" | 21 | #include "clock.h" |
22 | 22 | ||
23 | extern void omap_check_revision(void); | 23 | extern void omap_check_revision(void); |
24 | extern void omap_sram_init(void); | ||
25 | 24 | ||
26 | /* | 25 | /* |
27 | * The machine specific code may provide the extra mapping besides the | 26 | * The machine specific code may provide the extra mapping besides the |
@@ -133,7 +132,6 @@ void omap1_init_early(void) | |||
133 | */ | 132 | */ |
134 | omap1_clk_init(); | 133 | omap1_clk_init(); |
135 | omap1_mux_init(); | 134 | omap1_mux_init(); |
136 | omap_sram_init(); | ||
137 | } | 135 | } |
138 | 136 | ||
139 | /* | 137 | /* |