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:
c1fe6b5
)
sunxi: nand: Increase CONFIG_SYS_NAND_MAX_ECCPOS value
author
Boris Brezillon
<boris.brezillon@free-electrons.com>
Wed, 15 Jun 2016 19:09:27 +0000
(21:09 +0200)
committer
Scott Wood
<oss@buserror.net>
Mon, 25 Jul 2016 01:36:29 +0000
(20:36 -0500)
On some sunxi boards we have NANDs exposing 1664 OOB bytes per page.
Define the CONFIG_SYS_NAND_MAX_ECCPOS value accordingly.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
include/configs/sunxi-common.h
patch
|
blob
|
history
diff --git
a/include/configs/sunxi-common.h
b/include/configs/sunxi-common.h
index f55192609c2d18861d3613dcfb352a1d38e96179..b9aa62b2af684ec0304eb04119a3726fe89fe22e 100644
(file)
--- a/
include/configs/sunxi-common.h
+++ b/
include/configs/sunxi-common.h
@@
-134,6
+134,7
@@
#define CONFIG_SERIAL_TAG
#ifdef CONFIG_NAND_SUNXI
+#define CONFIG_SYS_NAND_MAX_ECCPOS 1664
#define CONFIG_SPL_NAND_SUPPORT 1
#define CONFIG_SYS_NAND_ONFI_DETECTION
#define CONFIG_SYS_MAX_NAND_DEVICE 8