diff options
Diffstat (limited to 'arch/arm/plat-omap/fb.c')
-rw-r--r-- | arch/arm/plat-omap/fb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 7854f19b77cf..96d6f0619733 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c | |||
@@ -182,7 +182,7 @@ void __init omapfb_reserve_sdram(void) | |||
182 | return; | 182 | return; |
183 | 183 | ||
184 | bdata = NODE_DATA(0)->bdata; | 184 | bdata = NODE_DATA(0)->bdata; |
185 | sdram_start = bdata->node_boot_start; | 185 | sdram_start = bdata->node_min_pfn << PAGE_SHIFT; |
186 | sdram_size = (bdata->node_low_pfn << PAGE_SHIFT) - sdram_start; | 186 | sdram_size = (bdata->node_low_pfn << PAGE_SHIFT) - sdram_start; |
187 | reserved = 0; | 187 | reserved = 0; |
188 | for (i = 0; ; i++) { | 188 | for (i = 0; ; i++) { |
@@ -340,5 +340,3 @@ unsigned long omapfb_reserve_sram(unsigned long sram_pstart, | |||
340 | 340 | ||
341 | 341 | ||
342 | #endif | 342 | #endif |
343 | |||
344 | |||