summaryrefslogtreecommitdiff
path: root/board/xilinx
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-06-17 14:37:01 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-08-12 08:59:55 +0200
commit148ba55cc618eaca19d7c86bdc003a7a71ee3a92 (patch)
treeb16460d9e03b64975ea70c2629584c401991f466 /board/xilinx
parenta78dac79ede7fbb4c9e816abc879655540c3f076 (diff)
downloadu-boot-imx-148ba55cc618eaca19d7c86bdc003a7a71ee3a92.zip
u-boot-imx-148ba55cc618eaca19d7c86bdc003a7a71ee3a92.tar.gz
u-boot-imx-148ba55cc618eaca19d7c86bdc003a7a71ee3a92.tar.bz2
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')
-rw-r--r--board/xilinx/zynq/board.c2
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;
}