projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f98bb
)
cm-t35: fix incorrect NAND_ECC layout selection
author
Nikita Kiryanov
<nikita@compulab.co.il>
Mon, 2 Jul 2012 02:27:59 +0000
(
02:27
+0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:36 +0000
(14:07 +0200)
The current configuration selects an incorrect NAND ECC layout,
which causes u-boot to write HW ECC data incorrectly.
This patch selects the right layout.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
include/configs/cm_t35.h
patch
|
blob
|
history
diff --git
a/include/configs/cm_t35.h
b/include/configs/cm_t35.h
index b97e8871502773bcb9d8aae65ff1c8763bed7bec..ee4bce5d341d76bfb1535314323005296ae97978 100644
(file)
--- a/
include/configs/cm_t35.h
+++ b/
include/configs/cm_t35.h
@@
-174,7
+174,7
@@
#define CONFIG_SYS_NAND_BASE NAND_BASE /* physical address */
/* to access nand at */
/* CS0 */
-#define GPMC_NAND_ECC_LP_x
16
_LAYOUT
+#define GPMC_NAND_ECC_LP_x
8
_LAYOUT
#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */
/* devices */