diff options
Diffstat (limited to 'arch/arm/plat-omap/sram.c')
-rw-r--r-- | arch/arm/plat-omap/sram.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index 3e923668778d..ad2bf07d30b5 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <plat/sram.h> | 28 | #include <plat/sram.h> |
29 | #include <plat/board.h> | 29 | #include <plat/board.h> |
30 | #include <plat/cpu.h> | 30 | #include <plat/cpu.h> |
31 | #include <plat/vram.h> | ||
31 | 32 | ||
32 | #include <plat/control.h> | 33 | #include <plat/control.h> |
33 | 34 | ||
@@ -185,6 +186,13 @@ void __init omap_detect_sram(void) | |||
185 | omap_sram_start + SRAM_BOOTLOADER_SZ, | 186 | omap_sram_start + SRAM_BOOTLOADER_SZ, |
186 | omap_sram_size - SRAM_BOOTLOADER_SZ); | 187 | omap_sram_size - SRAM_BOOTLOADER_SZ); |
187 | omap_sram_size -= reserved; | 188 | omap_sram_size -= reserved; |
189 | |||
190 | reserved = omap_vram_reserve_sram(omap_sram_start, omap_sram_base, | ||
191 | omap_sram_size, | ||
192 | omap_sram_start + SRAM_BOOTLOADER_SZ, | ||
193 | omap_sram_size - SRAM_BOOTLOADER_SZ); | ||
194 | omap_sram_size -= reserved; | ||
195 | |||
188 | omap_sram_ceil = omap_sram_base + omap_sram_size; | 196 | omap_sram_ceil = omap_sram_base + omap_sram_size; |
189 | } | 197 | } |
190 | 198 | ||