diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-06-15 21:09:27 +0200 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-07-24 20:36:29 -0500 |
commit | a0dfa88b4e12c00414a4058823e0eec8c216f1d7 (patch) | |
tree | 9a71eda5da26d47ba72863a61a3d5ce99fb3aab9 /include/configs/sunxi-common.h | |
parent | c1fe6b5b5e540e8c94a1be4e1119ee17ad5af5e7 (diff) | |
download | u-boot-a0dfa88b4e12c00414a4058823e0eec8c216f1d7.tar.gz |
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 <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |