summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Dahlström <risca@dalakolonin.se>2019-12-21 17:18:22 +0100
committerTom Rini <trini@konsulko.com>2019-12-27 16:46:02 -0500
commit5278e25d99e278d764d6c0dff7d2ba898de0f367 (patch)
treef4602aeac3e1c53ea9c6b87b0bd3753e0e8fc313
parent2ce1dbbeecd085be695c00a244c0dcc82aed3b82 (diff)
omap3_beagle: Change NAND ECC scheme back to OMAP_ECC_HAM1_CODE_HW
The omap3_beagle NAND ECC scheme was changed in 4b37928d357 for unknown reasons, leading to uncorrectible ecc errors. This commit changes it back to what it was before. Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>
-rw-r--r--include/configs/omap3_beagle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 4157d7614f..bc8aa7adf5 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -37,7 +37,7 @@
10, 11, 12, 13}
#define CONFIG_SYS_NAND_ECCSIZE 512
#define CONFIG_SYS_NAND_ECCBYTES 3
-#define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_BCH8_CODE_HW_DETECTION_SW
+#define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_HAM1_CODE_HW
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
#define CONFIG_SYS_ENV_SECT_SIZE SZ_128K
#define CONFIG_ENV_OVERWRITE