]> git.sur5r.net Git - u-boot/commit
zynq: Add new ddrc driver for ECC support
authorMichal Simek <michal.simek@xilinx.com>
Mon, 17 Jun 2013 12:37:01 +0000 (14:37 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 12 Aug 2013 06:59:55 +0000 (08:59 +0200)
commit148ba55cc618eaca19d7c86bdc003a7a71ee3a92
treeb16460d9e03b64975ea70c2629584c401991f466
parenta78dac79ede7fbb4c9e816abc879655540c3f076
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>
arch/arm/cpu/armv7/zynq/Makefile
arch/arm/cpu/armv7/zynq/ddrc.c [new file with mode: 0644]
arch/arm/include/asm/arch-zynq/hardware.h
arch/arm/include/asm/arch-zynq/sys_proto.h
board/xilinx/zynq/board.c