[U-Boot] [PATCH] ARM: uniphier: adjust dram_init() and dram_init_banksize() for ARM64
Masahiro Yamada
yamada.masahiro at socionext.com
Thu Mar 31 18:12:23 CEST 2016
2016-03-29 20:18 GMT+09:00 Masahiro Yamada <yamada.masahiro at socionext.com>:
> 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 at socionext.com>
Applied to u-boot-uniphier/master.
--
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list