]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
omap3_beagle: Change NAND ECC scheme back to OMAP_ECC_HAM1_CODE_HW
authorPatrik Dahlström <risca@dalakolonin.se>
Sat, 21 Dec 2019 16:18:22 +0000 (17:18 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 27 Dec 2019 21:46:02 +0000 (16:46 -0500)
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>
include/configs/omap3_beagle.h

index 4157d7614fc5ab36d2d5330610234bb230048572..bc8aa7adf5aaa534d45f01caf7626458afc9b184 100644 (file)
@@ -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