Re: [PATCH v1 3/3] board: arbel: Limit the dram effective size to bank0 maximal size

2024-05-03 Thread Tom Rini
On Tue, Apr 23, 2024 at 03:22:10PM +0800, Jim Liu wrote: > For 4GB dram size, the dram is divided into 2 banks and > the address space of these 2 banks are not concatenated. > Limit the gd->ram_top to not exceed bank0 top to prevent > accessing invalid memory region. > > Signed-off-by: Jim Liu

[PATCH v1 3/3] board: arbel: Limit the dram effective size to bank0 maximal size

2024-04-23 Thread Jim Liu
For 4GB dram size, the dram is divided into 2 banks and the address space of these 2 banks are not concatenated. Limit the gd->ram_top to not exceed bank0 top to prevent accessing invalid memory region. Signed-off-by: Jim Liu --- board/nuvoton/arbel_evb/arbel_evb.c | 14 +- 1 file ch