Chip select n memory bounds (DDR_CSn_BNDS)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Chip select n memory bounds (DDR_CSn_BNDS)

559 Views
ybhao
Contributor I

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

 

 

0 Kudos
1 Reply

551 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

0 Kudos