[U-Boot] [PATCH] common: bootm: reserve memory bank

2018-06-14 Thread Jason Zhu
Actually the DRAM is not only seperated in one bank. The DRAM bank information is stored in gd->bd->bi_dram, so reserve lmb according to gd->bd->bi_dram. Signed-off-by: Jason Zhu --- common/bootm.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/co

[U-Boot] [PATCH] common: bootm: reserve memory bank

2018-06-14 Thread Jason Zhu
Actually the DRAM is not only seperated in one bank. The DRAM bank information is stored in gd->bd->bi_dram, so reserve lmb according to gd->bd->bi_dram. Signed-off-by: Jason Zhu --- common/bootm.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/co