summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.biessmann@corscience.de>2014-04-10 12:52:52 +0200
committerTom Rini <trini@ti.com>2014-04-11 10:08:42 -0400
commit1b82491ee6ee1e986e5521b33692a00e1f38fe75 (patch)
treece0f41f410c80538930e1b95cfb3d1d168a6e4fa
parent2347534450727aa87087dc7579a92c102e128005 (diff)
downloadu-boot-imx-1b82491ee6ee1e986e5521b33692a00e1f38fe75.zip
u-boot-imx-1b82491ee6ee1e986e5521b33692a00e1f38fe75.tar.gz
u-boot-imx-1b82491ee6ee1e986e5521b33692a00e1f38fe75.tar.bz2
board:tricorder: fixup SPL OOB layout
Commit d016dc42cedbf6102e100fa9ecb58462edfb14f8 changed the layout of BCH8 SW on omap3 boards. We need to adopt the ecc layout for the nand_spl_simle driver to avoid wrong ecc errors. Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de> Cc: Thomas Weber <thomas.weber@corscience.de> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
-rw-r--r--include/configs/tricorder.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index a609861..80985a2 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -368,11 +368,12 @@
#define CONFIG_SYS_NAND_OOBSIZE 64
#define CONFIG_SYS_NAND_BLOCK_SIZE (128*1024)
#define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS
-#define CONFIG_SYS_NAND_ECCPOS {12, 13, 14, 15, 16, 17, 18, 19, 20,\
- 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,\
- 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,\
- 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,\
- 60, 61, 62, 63}
+#define CONFIG_SYS_NAND_ECCPOS {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, \
+ 13, 14, 16, 17, 18, 19, 20, 21, 22, \
+ 23, 24, 25, 26, 27, 28, 30, 31, 32, \
+ 33, 34, 35, 36, 37, 38, 39, 40, 41, \
+ 42, 44, 45, 46, 47, 48, 49, 50, 51, \
+ 52, 53, 54, 55, 56}
#define CONFIG_SYS_NAND_ECCSIZE 512
#define CONFIG_SYS_NAND_ECCBYTES 13