u-boot/arch/arm/mach-zynqmp/include/mach
Jorge Ramirez-Ortiz 01c7714a7b zynqmp: spl: support DRAM ECC initialization
Use the ZDMA channel 0 to initialize the DRAM banks. This avoid
spurious ECC errors that can occur when accessing unitialized memory.

The feature is enabled by setting the option
CONFIG_SPL_ZYNQMP_DRAM_ECC_INIT and providing the following data:

 SPL_ZYNQMP_DRAM_BANK1_BASE: start of memory to initialize
 SPL_ZYNQMP_DRAM_BANK1_LEN : len of memory to initialize (hex)
 SPL_ZYNQMP_DRAM_BANK2_BASE: start of memory to initialize
 SPL_ZYNQMP_DRAM_BANK2_LEN : len of memory to initialize (hex)

Setting SPL_ZYNQMP_DRAM_BANK_LEN to 0 takes no action.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2021-06-23 09:48:35 +02:00
..
clk.h arm64: zynqmp: Move SoC sources to mach-zynqmp 2019-01-24 10:03:44 +01:00
ecc_spl_init.h zynqmp: spl: support DRAM ECC initialization 2021-06-23 09:48:35 +02:00
gpio.h arm64: zynqmp: Move SoC sources to mach-zynqmp 2019-01-24 10:03:44 +01:00
hardware.h zynqmp: spl: support DRAM ECC initialization 2021-06-23 09:48:35 +02:00
psu_init_gpl.h arm64: zynqmp: Do not assing MIO34 that early on zcu100 2020-01-14 09:05:53 +01:00
sys_proto.h arm64: zynqmp: Add support for SHA3 command 2020-10-27 08:13:31 +01:00