diff mbox

[U-Boot,1/2] powerpc/P1022DS: Define new nand_ecclayout structure macros

Message ID 1387308070-3110-1-git-send-email-yorksun@freescale.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

York Sun Dec. 17, 2013, 7:21 p.m. UTC
Define CONFIG_SYS_NAND_MAX_ECCPOS and CONFIG_SYS_NAND_MAX_OOBFREE to
reduce the image size, by taking advantage of the new nand_ecclayout
structure.

Signed-off-by: York Sun <yorksun@freescale.com>
CC: Prabhakar Kushwaha <prabhakar@freescale.com>
CC: Scott Wood <scottwood@freescale.com>
---
 include/configs/P1022DS.h |    2 ++
 1 file changed, 2 insertions(+)

Comments

York Sun Jan. 2, 2014, 11:47 p.m. UTC | #1
On 12/17/2013 11:21 AM, York Sun wrote:
> Define CONFIG_SYS_NAND_MAX_ECCPOS and CONFIG_SYS_NAND_MAX_OOBFREE to
> reduce the image size, by taking advantage of the new nand_ecclayout
> structure.
> 
> Signed-off-by: York Sun <yorksun@freescale.com>
> CC: Prabhakar Kushwaha <prabhakar@freescale.com>
> CC: Scott Wood <scottwood@freescale.com>
> ---

Applied to u-boot-mpc85xx/master.

York
diff mbox

Patch

diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index ba43cce..934a6cb 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -75,6 +75,8 @@ 
 #endif
 
 #define CONFIG_NAND_FSL_ELBC
+#define CONFIG_SYS_NAND_MAX_ECCPOS	56
+#define CONFIG_SYS_NAND_MAX_OOBFREE	5
 
 #ifdef CONFIG_NAND
 #define CONFIG_SPL