OCM Remap - imrickysu/ZYNQ-Cookbook GitHub Wiki
Register
OCM_CFG: 0xF8000910
Details
Refer to UG585 Chapter 29.2.4 -> OCM Relocation and Chapter 29.4 Programming Model for the process of modifying this register.
Example
- When OCM_CFG = 0x10, OCM address is mapped to 0x00000000 - 0x0003FFFF
- When OCM_CFG = 0x18, OCM address is mapped to 0x00000000 - 0x0002FFFF and 0xFFFF00000 - 0xFFFFFFFF
- When OCM_CFG = 0x1F, OCM address is mapped to 0xFFFC0000 - 0xFFFFFFFF
Program Defaults
BootROM sets OCM_CFG to 0x18
U-boot set OCM_CFG to 0x1F AR47047