From: Michal Simek Date: Wed, 4 Sep 2013 14:51:33 +0000 (+0200) Subject: ARM: zynq: Do not use half memory size for ECC case X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=10fa49f428b9425f554f64a74a451868cbbfba3a;p=project%2Fbcm63xx%2Fu-boot.git 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 --- diff --git a/arch/arm/cpu/armv7/zynq/ddrc.c b/arch/arm/cpu/armv7/zynq/ddrc.c index 302654d64a..e0ed3bfb43 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; }