* [U-Boot] [PATCH 1/3] mtd:Increase ecc bytes to support 8K page size NAND
@ 2013-09-24 8:16 Prabhakar Kushwaha
2013-09-24 22:48 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar Kushwaha @ 2013-09-24 8:16 UTC (permalink / raw)
To: u-boot
To support 8 bit ECC for 8K page size NAND flash, number of ecc bytes
required are more than 128.
so increase eccpos array to support 256 entries.
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
---
Based upon git://git.denx.de/u-boot.git branch master
include/mtd/mtd-abi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index d51c1ab..83987dc 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -162,7 +162,7 @@ struct nand_oobfree {
*/
struct nand_ecclayout {
uint32_t eccbytes;
- uint32_t eccpos[128];
+ uint32_t eccpos[256];
uint32_t oobavail;
struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 1/3] mtd:Increase ecc bytes to support 8K page size NAND
2013-09-24 8:16 [U-Boot] [PATCH 1/3] mtd:Increase ecc bytes to support 8K page size NAND Prabhakar Kushwaha
@ 2013-09-24 22:48 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2013-09-24 22:48 UTC (permalink / raw)
To: u-boot
On Tue, 2013-09-24 at 13:46 +0530, Prabhakar Kushwaha wrote:
> To support 8 bit ECC for 8K page size NAND flash, number of ecc bytes
> required are more than 128.
>
> so increase eccpos array to support 256 entries.
>
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> ---
>
> Based upon git://git.denx.de/u-boot.git branch master
>
> include/mtd/mtd-abi.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
> index d51c1ab..83987dc 100644
> --- a/include/mtd/mtd-abi.h
> +++ b/include/mtd/mtd-abi.h
> @@ -162,7 +162,7 @@ struct nand_oobfree {
> */
> struct nand_ecclayout {
> uint32_t eccbytes;
> - uint32_t eccpos[128];
> + uint32_t eccpos[256];
> uint32_t oobavail;
> struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];
> };
Could you bring over the Linux definition from 3.7.1 instead (in mtd.h
rather than mtd-abi.h)? For some reason that change didn't make it into
U-Boot when other stuff was synced.
-Scott
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-24 22:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-24 8:16 [U-Boot] [PATCH 1/3] mtd:Increase ecc bytes to support 8K page size NAND Prabhakar Kushwaha
2013-09-24 22:48 ` Scott Wood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.