[U-Boot] [PATCH] powerpc/cms700: limit NAND data structure size

This fixes a build break due to excessively large NAND data structures.
Signed-off-by: Scott Wood scottwood@freescale.com Cc: Matthias Fuchs matthias.fuchs@esd-electronics.com --- include/configs/CMS700.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/configs/CMS700.h b/include/configs/CMS700.h index 4a5fc86..0bb22be 100644 --- a/include/configs/CMS700.h +++ b/include/configs/CMS700.h @@ -149,6 +149,9 @@ #define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1 /* ".i" read skips bad blocks */ #define CONFIG_SYS_NAND_QUIET 1
+#define CONFIG_SYS_NAND_MAX_OOBFREE 2 +#define CONFIG_SYS_NAND_MAX_ECCPOS 48 + /* * For booting Linux, the board info and command line data * have to be in the first 8 MB of memory, since this is

On 12/17/2013 08:11 PM, Scott Wood wrote:
This fixes a build break due to excessively large NAND data structures.
Signed-off-by: Scott Wood scottwood@freescale.com Cc: Matthias Fuchs matthias.fuchs@esd-electronics.com
Applied to u-boot-mpc85xx/master. Thanks.
York

On Thu, 2014-01-02 at 15:50 -0800, York Sun wrote:
On 12/17/2013 08:11 PM, Scott Wood wrote:
This fixes a build break due to excessively large NAND data structures.
Signed-off-by: Scott Wood scottwood@freescale.com Cc: Matthias Fuchs matthias.fuchs@esd-electronics.com
Applied to u-boot-mpc85xx/master. Thanks.
FWIW, this is a 4xx board, not mpc85xx. I actually meant to include this in my last nand pull request, but forgot to push it. :-P
-Scott
participants (2)
-
Scott Wood
-
York Sun