commit | 0197f63dae6e1a20384b7e91a0f0cc3152e70a08 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Sat Jan 28 06:53:44 2017 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Sun Jan 29 20:59:08 2017 +0900 |
tree | 4eb8cde4272fa09a7d0b1e29a572c57e50fefb1b | |
parent | d97c1cb29c65795ccf5a9ba71923637cdf70a7b7 [diff] |
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>