Searched hist:ac2a1030e3aba3deba7f5c3f6d3c4faf6e9506f8 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/arch/arm/mach-uniphier/ |
| H A D | dram_init.c | ac2a1030e3aba3deba7f5c3f6d3c4faf6e9506f8 Tue Mar 29 11:18:45 UTC 2016 Masahiro Yamada <yamada.masahiro@socionext.com> 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>
|