• Manoj Kumar's avatar
    n1sdp: add code for DDR ECC enablement and BL33 copy to DDR · de8bc83e
    Manoj Kumar authored
    
    
    N1SDP platform supports RDIMMs with ECC capability. To use the ECC
    capability, the entire DDR memory space has to be zeroed out before
    enabling the ECC bits in DMC620. Zeroing out several gigabytes of
    memory from SCP is quite time consuming so functions are added that
    zeros out the DDR memory from application processor which is
    much faster compared to SCP. BL33 binary cannot be copied to DDR memory
    before enabling ECC so this is also done by TF-A from IOFPGA-DDR3
    memory to main DDR4 memory after ECC is enabled.
    
    Original PLAT_PHY_ADDR_SPACE_SIZE was limited to 36-bits with which
    the entire DDR space cannot be accessed as DRAM2 starts in base
    0x8080000000. So these macros are redefined for all ARM platforms.
    
    Change-Id: If09524fb65b421b7a368b1b9fc52c49f2ddb7846
    Signed-off-by: default avatarManoj Kumar <manoj.kumar3@arm.com>
    de8bc83e
platform.mk 1.9 KB