diff mbox

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

Message ID 1387339867-14007-1-git-send-email-scottwood@freescale.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

Scott Wood Dec. 18, 2013, 4:11 a.m. UTC
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(+)

Comments

York Sun Jan. 2, 2014, 11:50 p.m. UTC | #1
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
Scott Wood Jan. 2, 2014, 11:55 p.m. UTC | #2
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
diff mbox

Patch

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