On 3/12/19 9:31 AM, Ley Foon Tan wrote:
> Setup bank start address and size based on total SDRAM
> memory size calculated from hardware. Update sdram_size_check()
> to support multiple banks.
> 
> Stratix10 supports up to 2 memory banks.
> 
> Bank 0: Address 0, size 2GB
> Bank 1: Address 0x100000000, size 124GB
> 
> Signed-off-by: Dalon Westergreen <dalon.westergr...@intel.com>
> Signed-off-by: Ley Foon Tan <ley.foon....@intel.com>

Shouldn't Quartus generate some sort of DT which gives you all the DRAM
layout information ? Then you won't need any of this
CONFIG_NR_DRAM_BANKS stuff, but you would be able to extract such info
from DT and apply the sanity check only on DRAM you know exists.

-- 
Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to