aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinu Cherian <linucherian@gmail.com>2012-07-26 22:21:53 +0000
committerWolfgang Denk <wd@denx.de>2012-07-30 20:22:42 +0200
commit9f0a371d2c477fc1eef7ea1c40ddf6c597676844 (patch)
tree000b8974e22e3c1e8892eeaef462101eade5faee
parent69577ab6bdbb923153b3e8e1b75b9360042d27cd (diff)
downloadu-boot-linaro-stable-9f0a371d2c477fc1eef7ea1c40ddf6c597676844.tar.gz
hawkboard: Fix SPL Nand driver misconfiguration
Hawkboard was using the wrong nand_read_page version for SPL image. As a side effect, the u-boot image loaded by the SPL from nand was getting corrupted. Enable CONFIG_SYS_NAND_HW_ECC_OOBFIRST to select the correct nand_read_page algorithm for SPL. Signed-off-by: Linu Cherian <linucherian@gmail.com> Acked-by: Sughosh Ganu <urwithsughosh@gmail.com> Acked-by: Tom Rini <trini@ti.com>
-rw-r--r--include/configs/hawkboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/hawkboard.h b/include/configs/hawkboard.h
index c6e8859f6..c6e9ce557 100644
--- a/include/configs/hawkboard.h
+++ b/include/configs/hawkboard.h
@@ -123,6 +123,7 @@
#define CONFIG_SYS_NAND_USE_FLASH_BBT
#define CONFIG_NAND_DAVINCI
#define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST
+#define CONFIG_SYS_NAND_HW_ECC_OOBFIRST /* SPL nand driver configuration */
#define CFG_DAVINCI_STD_NAND_LAYOUT
#define CONFIG_SYS_NAND_CS 3
#define CONFIG_SYS_NAND_PAGE_2K