]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: uniphier: skip memreserve of unused DRAM bank of LD20
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 20 Feb 2017 08:13:32 +0000 (17:13 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Feb 2017 23:37:56 +0000 (08:37 +0900)
commit87c3308cbf969f2370a647c6beea26898f0767f8
treea72a3383bd7cb0b9f18a49847903d8b2fabbec64
parent0f5bf09cf1242246346ee47bd772c84ec3701f30
ARM: uniphier: skip memreserve of unused DRAM bank of LD20

Now the "for" loop here iterates on the detected memory banks.
It must skip unused DRAM banks.

Fixes: c995f3a3c526 ("ARM: uniphier: use gd->bd->bi_dram for memory reserve on LD20 SoC")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram_init.c