]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: OMAP: Fix omap_sdram_size calculation
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 12 May 2014 08:19:33 +0000 (13:49 +0530)
committerTom Rini <trini@ti.com>
Fri, 23 May 2014 23:40:38 +0000 (19:40 -0400)
commitd7630da6f401a68644f8c5fa1ee3b39bcf60972f
treee18556370ce727193d91238d7391164783541420
parentd14c6335bcae5fd1909f6280dcfa064bb62c30f0
ARM: OMAP: Fix omap_sdram_size calculation

Last section of DMM is used for trapping tiler unmapped sections.
Corresponding trap_size should be deducted from total SDRAM size
only if trap section is overlapping with available SDRAM
based on DMM sections. Fixing the same.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/cpu/armv7/omap-common/hwinit-common.c