diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-09-04 14:51:33 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-05-14 05:43:34 (GMT) |
commit | 10fa49f428b9425f554f64a74a451868cbbfba3a (patch) | |
tree | 882fa468c644b920ecb884565ca8d13855272273 /arch/arm | |
parent | 96a2859e54c8f6153ddb429ba730b324ab8ff352 (diff) | |
download | u-boot-10fa49f428b9425f554f64a74a451868cbbfba3a.tar.xz |
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')
-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; } |