diff options
| author | Jorge Ramirez-Ortiz <[email protected]> | 2021-06-13 20:55:53 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2021-06-23 09:48:35 +0200 |
| commit | 01c7714a7bc615d054e2cd8ecb077415dbcf0a51 (patch) | |
| tree | 16769bfc067791e9382bcfd8870d5248d0a3f658 /scripts | |
| parent | ca8bb0ccb752e38c49fc37e83af4857b04487ebb (diff) | |
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 <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
