diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/omap3_h1.h | 12 | 
1 files changed, 9 insertions, 3 deletions
| diff --git a/include/configs/omap3_h1.h b/include/configs/omap3_h1.h index 357318fda..0c368ec32 100644 --- a/include/configs/omap3_h1.h +++ b/include/configs/omap3_h1.h @@ -327,11 +327,17 @@  						10, 11, 12, 13}  #define CONFIG_SYS_NAND_ECCSIZE		512  #define CONFIG_SYS_NAND_ECCBYTES	3 -#define CONFIG_NAND_OMAP_ECCSCHEME	OMAP_ECC_HAM1_CODE_SW + +#ifdef SW_ECC +#define CONFIG_NAND_OMAP_ECCSCHEME  OMAP_ECC_HAM1_CODE_SW +#else +#define CONFIG_NAND_OMAP_ECCSCHEME	OMAP_ECC_HAM1_CODE_HW +#endif +  /* #define CONFIG_NAND_OMAP_ECCSCHEME	OMAP_ECC_BCH8_CODE_HW_DETECTION_SW */ -#define CONFIG_BCH +/* #define CONFIG_BCH */  #define CONFIG_SYS_NAND_U_BOOT_START	CONFIG_SYS_TEXT_BASE -#define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000 +#define CONFIG_SYS_NAND_U_BOOT_OFFS	    0x80000  /*   * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM |