]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: OMAP4+: dmm: Take care of overlapping dmm and trap sections.
authorSRICHARAN R <r.sricharan@ti.com>
Thu, 17 May 2012 00:12:06 +0000 (00:12 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:21 +0000 (14:07 +0200)
commite06e914d872f3bd5098d2f1120ecee1447a3f566
treec0d1ef1a8020179dcc22025e51886396d7584f44
parent14b9f16c401206097c361ae4198c6b2ece805964
ARM: OMAP4+: dmm: Take care of overlapping dmm and trap sections.

The DMM sections can be overlapping with each other, with
sections 3 to 0 having the highest to lowest priority in that
order. There could also be a section that is used trap the
unmapped Tiler entries and this trap section could be
overlapping with the actual sdram area.

So take care of the above scenarios while calculating the
size of the actual ram.

Signed-off-by: R Sricharan <r.sricharan@ti.com>
arch/arm/cpu/armv7/omap-common/hwinit-common.c