n1sdp: add code for DDR ECC enablement and BL33 copy to DDR
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: Manoj Kumar <manoj.kumar3@arm.com>
1 parent b73d296 commit de8bc83ee9401acdab20fd8ae1f9cb9bf7ef7829
@Manoj Kumar Manoj Kumar authored on 21 Jun 2019
Showing 13 changed files
View
include/plat/arm/common/arm_def.h
View
plat/arm/board/fvp/include/platform_def.h
View
plat/arm/board/fvp_ve/include/platform_def.h
View
plat/arm/board/juno/include/platform_def.h
View
plat/arm/board/n1sdp/include/platform_def.h
View
plat/arm/board/n1sdp/n1sdp_bl31_setup.c
View
plat/arm/board/n1sdp/n1sdp_def.h 0 → 100644
View
plat/arm/board/n1sdp/n1sdp_plat.c
View
plat/arm/board/n1sdp/platform.mk
View
plat/arm/board/rde1edge/include/platform_def.h
View
plat/arm/board/rdn1edge/include/platform_def.h
View
plat/arm/board/sgi575/include/platform_def.h
View
plat/arm/board/sgm775/include/platform_def.h