summaryrefslogtreecommitdiffstats
path: root/include/configs/am335x_evm.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-11-25 10:42:13 -0500
committerTom Rini <trini@ti.com>2013-11-25 10:42:13 -0500
commitfaca8ff55f4a2cf45fb906cc37f44601149fc00e (patch)
tree181e94fa3326f2ec97f0287f3bbbe54ccd3b13d1 /include/configs/am335x_evm.h
parent5a4fe1aaf1210b02bb98e347993ffbcffeb4ffaa (diff)
parent2c17e6d1d996a1b8b9325de15f253a13d5877dee (diff)
downloadtalos-obmc-uboot-faca8ff55f4a2cf45fb906cc37f44601149fc00e.tar.gz
talos-obmc-uboot-faca8ff55f4a2cf45fb906cc37f44601149fc00e.zip
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r--include/configs/am335x_evm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index f35ed6fba0..d75df92797 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -220,6 +220,8 @@
#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/am33xx/u-boot-spl.lds"
#ifdef CONFIG_NAND
+#define CONFIG_NAND_OMAP_GPMC
+#define CONFIG_NAND_OMAP_ELM
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
#define CONFIG_SYS_NAND_PAGE_COUNT (CONFIG_SYS_NAND_BLOCK_SIZE / \
CONFIG_SYS_NAND_PAGE_SIZE)
@@ -237,7 +239,8 @@
#define CONFIG_SYS_NAND_ECCSIZE 512
#define CONFIG_SYS_NAND_ECCBYTES 14
-
+#define CONFIG_SYS_NAND_ONFI_DETECTION
+#define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_BCH8_CODE_HW
#define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
#endif
OpenPOWER on IntegriCloud