diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-09-04 16:51:33 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-05-14 07:43:34 +0200 |
commit | 10fa49f428b9425f554f64a74a451868cbbfba3a (patch) | |
tree | 882fa468c644b920ecb884565ca8d13855272273 /arch/arm/cpu/armv7/zynq | |
parent | 96a2859e54c8f6153ddb429ba730b324ab8ff352 (diff) | |
download | u-boot-imx-10fa49f428b9425f554f64a74a451868cbbfba3a.zip u-boot-imx-10fa49f428b9425f554f64a74a451868cbbfba3a.tar.gz u-boot-imx-10fa49f428b9425f554f64a74a451868cbbfba3a.tar.bz2 |
ARM: zynq: Do not use half memory size for ECC case
Memory size should be specified without ECC place.
If you need to have half memory size, please change
u-boot configuration.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/cpu/armv7/zynq')
-rw-r--r-- | arch/arm/cpu/armv7/zynq/ddrc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/zynq/ddrc.c b/arch/arm/cpu/armv7/zynq/ddrc.c index 302654d..e0ed3bf 100644 --- a/arch/arm/cpu/armv7/zynq/ddrc.c +++ b/arch/arm/cpu/armv7/zynq/ddrc.c @@ -44,7 +44,4 @@ void zynq_ddrc_init(void) } else { puts("Memory: ECC disabled\n"); } - - if (width == ZYNQ_DDRC_CTRLREG_BUSWIDTH_16BIT) - gd->ram_size /= 2; } |