diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-06-17 12:37:01 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-08-12 06:59:55 (GMT) |
commit | 148ba55cc618eaca19d7c86bdc003a7a71ee3a92 (patch) | |
tree | b16460d9e03b64975ea70c2629584c401991f466 /board/xilinx/zynq | |
parent | a78dac79ede7fbb4c9e816abc879655540c3f076 (diff) | |
download | u-boot-fsl-qoriq-148ba55cc618eaca19d7c86bdc003a7a71ee3a92.tar.xz |
zynq: Add new ddrc driver for ECC support
The first 1MB is not initialized by first stage bootloader.
Check if memory is setup to 16bit mode and ECC is enabled.
If it is, clear the first 1MB.
Also u-boot should report only the half size of memory.
Acked-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/zynq')
-rw-r--r-- | board/xilinx/zynq/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 4bb140e..ca159b0 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c @@ -96,5 +96,7 @@ int dram_init(void) { gd->ram_size = CONFIG_SYS_SDRAM_SIZE; + zynq_ddrc_init(); + return 0; } |