From: Boris Brezillon Date: Wed, 15 Jun 2016 19:09:27 +0000 (+0200) Subject: sunxi: nand: Increase CONFIG_SYS_NAND_MAX_ECCPOS value X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a0dfa88b4e12c00414a4058823e0eec8c216f1d7;p=u-boot.git sunxi: nand: Increase CONFIG_SYS_NAND_MAX_ECCPOS value 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 --- diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index f55192609c..b9aa62b2af 100644 --- 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