diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-06-17 14:37:01 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-08-12 08:59:55 +0200 |
commit | 148ba55cc618eaca19d7c86bdc003a7a71ee3a92 (patch) | |
tree | b16460d9e03b64975ea70c2629584c401991f466 /arch/arm/include/asm/arch-zynq/sys_proto.h | |
parent | a78dac79ede7fbb4c9e816abc879655540c3f076 (diff) | |
download | u-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 'arch/arm/include/asm/arch-zynq/sys_proto.h')
-rw-r--r-- | arch/arm/include/asm/arch-zynq/sys_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynq/sys_proto.h b/arch/arm/include/asm/arch-zynq/sys_proto.h index 19a4eec..110de90 100644 --- a/arch/arm/include/asm/arch-zynq/sys_proto.h +++ b/arch/arm/include/asm/arch-zynq/sys_proto.h @@ -14,6 +14,7 @@ extern void zynq_slcr_gem_clk_setup(u32 gem_id, u32 rclk, u32 clk); extern void zynq_slcr_devcfg_disable(void); extern void zynq_slcr_devcfg_enable(void); extern u32 zynq_slcr_get_idcode(void); +extern void zynq_ddrc_init(void); /* Driver extern functions */ extern int zynq_sdhci_init(u32 regbase); |