projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
091bf76
)
ARM: OMAP: Fix printing of reserved memory for frambuffer
author
Tomi Valkeinen
<tomi.valkeinen@nokia.com>
Mon, 11 May 2009 16:58:19 +0000
(09:58 -0700)
committer
Tony Lindgren
<tony@atomide.com>
Mon, 11 May 2009 16:58:19 +0000
(09:58 -0700)
Print reserved memory only if it was actually reserved.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/fb.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/fb.c
b/arch/arm/plat-omap/fb.c
index ce6b4baeedec416aa48d64f17872e799079cd328..3746222bed10ff52f6002556c21cfca486e2babf 100644
(file)
--- a/
arch/arm/plat-omap/fb.c
+++ b/
arch/arm/plat-omap/fb.c
@@
-206,9
+206,10
@@
void __init omapfb_reserve_sdram(void)
config_invalid = 1;
return;
}
- if (rg.paddr)
+ if (rg.paddr)
{
reserve_bootmem(rg.paddr, rg.size, BOOTMEM_DEFAULT);
- reserved += rg.size;
+ reserved += rg.size;
+ }
omapfb_config.mem_desc.region[i] = rg;
configured_regions++;
}