projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a2859
)
ARM: zynq: Do not use half memory size for ECC case
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 4 Sep 2013 14:51:33 +0000
(16:51 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Wed, 14 May 2014 05:43:34 +0000
(07:43 +0200)
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>
arch/arm/cpu/armv7/zynq/ddrc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/zynq/ddrc.c
b/arch/arm/cpu/armv7/zynq/ddrc.c
index 302654d64aaa879cabe1f78b46f52eef2f067e0f..e0ed3bfb43506fb836841191ad9fa640763920e0 100644
(file)
--- 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;
}