From caad0d00a8bc3d44ca6581030b95dce97386689c Mon Sep 17 00:00:00 2001 From: Fabian Mewes Date: Tue, 14 Jun 2016 02:46:14 +0200 Subject: [PATCH] nand: doc: fix example ecc scheme calculation Signed-off-by: Fabian Mewes --- doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.nand b/doc/README.nand index 4ecf9dee65..edb45eb567 100644 --- a/doc/README.nand +++ b/doc/README.nand @@ -271,7 +271,7 @@ Platform specific options However, for 4K pagesize NAND NAND_PAGESIZE = 4096 - NAND_OOBSIZE = 64 + NAND_OOBSIZE = 224 ECC_BYTES = 26 2 + (4096 / 512) * 26 = 210 < NAND_OOBSIZE Thus BCH16 can be supported on 4K page NAND. -- 2.39.5