summaryrefslogtreecommitdiff
path: root/include/configs/omap3logic.h
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2013-05-24 15:32:40 -0400
committerJustin Waters <justin.waters@timesys.com>2013-06-03 11:39:29 -0400
commite905badacaff9b85d8bb4f0933d1246625293572 (patch)
treee2ff67dc33625dacffbf0ef40eea2ad44c8ad00c /include/configs/omap3logic.h
parent266c19c9cd6808e0d2546ce084e97fa73a1e0a2c (diff)
omap3logic: Fix up NAND ECC handling
Remove the autogenerated ECC handling header, and instead create multiple U-Boot configurations. This is closer to the way that upstream would handle things.
Diffstat (limited to 'include/configs/omap3logic.h')
-rw-r--r--include/configs/omap3logic.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/configs/omap3logic.h b/include/configs/omap3logic.h
index f2713a95b3a..cae4399da6b 100644
--- a/include/configs/omap3logic.h
+++ b/include/configs/omap3logic.h
@@ -33,8 +33,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#include <ecc-method_autogenerated.h>
-
/*
* High Level Configuration Options
*/
@@ -213,10 +211,10 @@
#define MTDPARTS_NAND_DEFAULT "mtdparts=omap2-nand.0:512k(x-loader),"\
"1664k(u-boot),384k(u-boot-env),"\
"5m(kernel),20m(ramdisk),-(fs)"
-#if defined(SYSCFG_NAND_ECC_SOFT_BCH)
+#if defined(CONFIG_SYSCFG_NAND_ECC_SOFT_BCH)
#define MTDFLAGS_NAND_DEFAULT "default=ecc_bch;x-loader=ecc_hw,repeat;fs=yaffs"
#endif
-#if defined(SYSCFG_NAND_ECC_IN_CHIP)
+#if defined(CONFIG_SYSCFG_NAND_ECC_IN_CHIP)
#define MTDFLAGS_NAND_DEFAULT "default=ecc_chip;x-loader=ecc_hw,repeat;fs=yaffs"
#endif