public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] powerpc/P1022DS: Define new nand_ecclayout structure macros
@ 2013-12-17 19:21 York Sun
  2013-12-17 19:21 ` [U-Boot] [PATCH 2/2] powerpc/B4860QDS: " York Sun
  2014-01-02 23:47 ` [U-Boot] [PATCH 1/2] powerpc/P1022DS: " York Sun
  0 siblings, 2 replies; 4+ messages in thread
From: York Sun @ 2013-12-17 19:21 UTC (permalink / raw)
  To: u-boot

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(+)

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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] powerpc/B4860QDS: Define new nand_ecclayout structure macros
  2013-12-17 19:21 [U-Boot] [PATCH 1/2] powerpc/P1022DS: Define new nand_ecclayout structure macros York Sun
@ 2013-12-17 19:21 ` York Sun
  2014-01-02 23:48   ` York Sun
  2014-01-02 23:47 ` [U-Boot] [PATCH 1/2] powerpc/P1022DS: " York Sun
  1 sibling, 1 reply; 4+ messages in thread
From: York Sun @ 2013-12-17 19:21 UTC (permalink / raw)
  To: u-boot

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/B4860QDS.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index 3c6cd61..c182158 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -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)
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/2] powerpc/P1022DS: Define new nand_ecclayout structure macros
  2013-12-17 19:21 [U-Boot] [PATCH 1/2] powerpc/P1022DS: Define new nand_ecclayout structure macros York Sun
  2013-12-17 19:21 ` [U-Boot] [PATCH 2/2] powerpc/B4860QDS: " York Sun
@ 2014-01-02 23:47 ` York Sun
  1 sibling, 0 replies; 4+ messages in thread
From: York Sun @ 2014-01-02 23:47 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] powerpc/B4860QDS: Define new nand_ecclayout structure macros
  2013-12-17 19:21 ` [U-Boot] [PATCH 2/2] powerpc/B4860QDS: " York Sun
@ 2014-01-02 23:48   ` York Sun
  0 siblings, 0 replies; 4+ messages in thread
From: York Sun @ 2014-01-02 23:48 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-02 23:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 19:21 [U-Boot] [PATCH 1/2] powerpc/P1022DS: Define new nand_ecclayout structure macros York Sun
2013-12-17 19:21 ` [U-Boot] [PATCH 2/2] powerpc/B4860QDS: " York Sun
2014-01-02 23:48   ` York Sun
2014-01-02 23:47 ` [U-Boot] [PATCH 1/2] powerpc/P1022DS: " York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox