]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: uniphier: use gd->bd->bi_dram for memory reserve on LD20 SoC
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Jan 2017 21:53:44 +0000 (06:53 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 29 Jan 2017 11:59:08 +0000 (20:59 +0900)
commitc995f3a3c5263c2e424064fac81f169846b6d25e
tree4eb8cde4272fa09a7d0b1e29a572c57e50fefb1b
parent3e9952be23e1fdc8b576dfeed80e442d3045cd87
ARM: uniphier: use gd->bd->bi_dram for memory reserve on LD20 SoC

For LD20 SoC, the last 64 byte of each DRAM bank is used for the
dynamic training of DRAM PHY.  The regions must be reserved in DT to
prevent the kernel from using them.  Now gd->bd->bi_dram reflects
the actual memory banks.  Just use it instead of getting access to
the board parameters.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram_init.c