summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/board_early_init_r.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-29 20:18:45 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-01 00:59:47 +0900
commitac2a1030e3aba3deba7f5c3f6d3c4faf6e9506f8 (patch)
tree03c809a5c8d0aca5e96619ee5e1a87f3c14b0023 /arch/arm/mach-uniphier/board_early_init_r.c
parent15826e7e701baeeb404cabe4578dbd5aed21ea78 (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>
Diffstat (limited to 'arch/arm/mach-uniphier/board_early_init_r.c')
0 files changed, 0 insertions, 0 deletions