diff options
Diffstat (limited to 'arch/arm/plat-omap/common.c')
-rw-r--r-- | arch/arm/plat-omap/common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c index 219c01e82bc5..ebed82699eb2 100644 --- a/arch/arm/plat-omap/common.c +++ b/arch/arm/plat-omap/common.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/serial_reg.h> | 22 | #include <linux/serial_reg.h> |
23 | #include <linux/clk.h> | 23 | #include <linux/clk.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/omapfb.h> | ||
25 | 26 | ||
26 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
27 | #include <asm/system.h> | 28 | #include <asm/system.h> |
@@ -35,6 +36,7 @@ | |||
35 | #include <plat/mux.h> | 36 | #include <plat/mux.h> |
36 | #include <plat/fpga.h> | 37 | #include <plat/fpga.h> |
37 | #include <plat/serial.h> | 38 | #include <plat/serial.h> |
39 | #include <plat/vram.h> | ||
38 | 40 | ||
39 | #include <plat/clock.h> | 41 | #include <plat/clock.h> |
40 | 42 | ||
@@ -81,6 +83,12 @@ const void *omap_get_var_config(u16 tag, size_t *len) | |||
81 | } | 83 | } |
82 | EXPORT_SYMBOL(omap_get_var_config); | 84 | EXPORT_SYMBOL(omap_get_var_config); |
83 | 85 | ||
86 | void __init omap_reserve(void) | ||
87 | { | ||
88 | omapfb_reserve_sdram_memblock(); | ||
89 | omap_vram_reserve_sdram_memblock(); | ||
90 | } | ||
91 | |||
84 | /* | 92 | /* |
85 | * 32KHz clocksource ... always available, on pretty most chips except | 93 | * 32KHz clocksource ... always available, on pretty most chips except |
86 | * OMAP 730 and 1510. Other timers could be used as clocksources, with | 94 | * OMAP 730 and 1510. Other timers could be used as clocksources, with |