diff options
author | Justin Waters <justin.waters@timesys.com> | 2013-05-24 15:32:40 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2013-06-03 11:39:29 -0400 |
commit | e905badacaff9b85d8bb4f0933d1246625293572 (patch) | |
tree | e2ff67dc33625dacffbf0ef40eea2ad44c8ad00c /board/ti/logic/logic.c | |
parent | 266c19c9cd6808e0d2546ce084e97fa73a1e0a2c (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 'board/ti/logic/logic.c')
-rw-r--r-- | board/ti/logic/logic.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/ti/logic/logic.c b/board/ti/logic/logic.c index 911d2d8d9a..d3bff273aa 100644 --- a/board/ti/logic/logic.c +++ b/board/ti/logic/logic.c @@ -43,7 +43,6 @@ #include "logic.h" #include "product_id.h" #include "logic-proto.h" -#include <ecc-method_autogenerated.h> DECLARE_GLOBAL_DATA_PTR; @@ -116,11 +115,11 @@ void nand_setup_default_ecc_method(void) { omap3logic_nand_default = OMAP_ECC_NONE; -#ifdef SYSCFG_NAND_ECC_SOFT_BCH +#ifdef CONFIG_SYSCFG_NAND_ECC_SOFT_BCH omap3logic_nand_default = OMAP_ECC_SOFT_BCH; #endif if (omap_nand_chip_has_ecc()) { -#ifdef SYSCFG_NAND_ECC_IN_CHIP +#ifdef CONFIG_SYSCFG_NAND_ECC_IN_CHIP omap3logic_nand_default = OMAP_ECC_CHIP; #endif } |