Skip to contentSkip to conversation

powerpc/P1022DS: Define new nand_ecclayout structure macros

PATCH New York Sun 1 participant 4 messages Dec 17, 2013 – Jan 2, 2014

lore
Share & tools
lore

York Sun

author
#0 lore raw

PATCH 1/2 powerpc/P1022DS: Define new nand_ecclayout structure macros

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.

CC Prabhakar Kushwaha <[email protected]>
CC Scott Wood <[email protected]>
---
 include/configs/P1022DS.h |    2 ++
 1 file changed, 2 insertions(+)
include/configs/P1022DS.h +2 -0
index ba43cce..934a6cb 100644
@@ -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
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/2 powerpc/P1022DS: Define new nand_ecclayout structure macros

Quoted 8 lines · York Sun

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.

CC Prabhakar Kushwaha <[email protected]>
CC Scott Wood <[email protected]>

---

Applied to u-boot-mpc85xx/master.

York

author
#2 lore raw

PATCH 2/2 powerpc/B4860QDS: Define new nand_ecclayout structure macros

In reply to York Sun

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.

CC Prabhakar Kushwaha <[email protected]>
CC Scott Wood <[email protected]>
---
 include/configs/B4860QDS.h |    2 ++
 1 file changed, 2 insertions(+)
include/configs/B4860QDS.h +2 -0
index 3c6cd61..c182158 100644
@@ -289,6 +289,8 @@ unsigned long get_board_ddr_clk(void);
 
 /* NAND Flash on IFC */
 #define CONFIG_NAND_FSL_IFC
+#define CONFIG_SYS_NAND_MAX_ECCPOS	256
+#define CONFIG_SYS_NAND_MAX_OOBFREE	2
 #define CONFIG_SYS_NAND_BASE		0xff800000
 #ifdef CONFIG_PHYS_64BIT
 #define CONFIG_SYS_NAND_BASE_PHYS	(0xf00000000ull | CONFIG_SYS_NAND_BASE)
Signature · 1 line
1.7.9.5
author
#3 lore raw

PATCH 2/2 powerpc/B4860QDS: Define new nand_ecclayout structure macros

Quoted 8 lines · York Sun

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.

CC Prabhakar Kushwaha <[email protected]>
CC Scott Wood <[email protected]>

---

Applied to u-boot-mpc85xx/master.

York