commit | a90b110e3037ce4f2af719b00d38f45df50f16eb | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Mar 29 20:18:45 2016 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Fri Apr 01 00:59:47 2016 +0900 |
tree | 03c809a5c8d0aca5e96619ee5e1a87f3c14b0023 | |
parent | 17fa0922a097b57bd14eabd7870e3ee37f39c73b [diff] |
ARM: uniphier: adjust dram_init() and dram_init_banksize() for ARM64 Currently, these functions assume #address-cells and #size-cells are both one. Fix them to support 64bit DTB. Also, I am fixing a buffer overrun bug while I am here. The array size of gd->bd->bd_dram is CONFIG_NR_DRAM_BANKS. The number of iteration in the loop should be limited by that CONFIG. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>