summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/zynq
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-09-04 16:51:33 +0200
committerMichal Simek <michal.simek@xilinx.com>2014-05-14 07:43:34 +0200
commit10fa49f428b9425f554f64a74a451868cbbfba3a (patch)
tree882fa468c644b920ecb884565ca8d13855272273 /arch/arm/cpu/armv7/zynq
parent96a2859e54c8f6153ddb429ba730b324ab8ff352 (diff)
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.c3
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 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;
}