]> git.sur5r.net Git - u-boot/commitdiff
sunxi: nand: Increase CONFIG_SYS_NAND_MAX_ECCPOS value
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 15 Jun 2016 19:09:27 +0000 (21:09 +0200)
committerScott 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

index f55192609c2d18861d3613dcfb352a1d38e96179..b9aa62b2af684ec0304eb04119a3726fe89fe22e 100644 (file)
 #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