4–15
SAn
Starting address for chip select (bank) n . This value is compared against the 12 msbs of the 36-bit
address.
20–31
EAn
Ending address for chip select (bank) n. This value is compared against the 12 msbs of the 36-bit address.
#ifndef CONFIG_P2020RDB
#define CONFIG_SYS_DDR_CS0_BNDS 0x0000003f
how to understand the EA , what's it uint?
the P2020RDB have 1GB at cs0 line, how does it relate to 0x3f?
thank you
DRAM configuration per device is 1GB, the address range is from 0x0_0000_0000 to 0x0_3fff_ffff, the 12 msbs of the 36-bit address is 0x03f, so the value of CONFIG_SYS_DDR_CS0_BNDS is 0x3f.