[U-Boot] sunxi: support multiple memory banks

michael vogt michu at neophob.com
Wed Jul 18 21:42:07 UTC 2018


Hi

I would like to support 4 memory chips for a sunxi board (a20). 

the current configuration in the sunxi-common.h looks like this:

#define CONFIG_NR_DRAM_BANKS		1
#define PHYS_SDRAM_0			CONFIG_SYS_SDRAM_BASE
#define PHYS_SDRAM_0_SIZE		0x80000000 /* 2 GiB */

which seems to match the memory map for the a20. 

Question:
While addressing 2gb ram works using one dram bank - will it work if there are two dram banks needed?

Best regards
Michael


More information about the U-Boot mailing list