summaryrefslogtreecommitdiff
path: root/include/configs/omap3_h1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/omap3_h1.h')
-rw-r--r--include/configs/omap3_h1.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/omap3_h1.h b/include/configs/omap3_h1.h
index dfc2783e4..f1d852bfe 100644
--- a/include/configs/omap3_h1.h
+++ b/include/configs/omap3_h1.h
@@ -218,6 +218,7 @@
/* Boot Argument Buffer Size */
#define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
+#define CONFIG_CMD_MEMTEST 1 /* needed for memtest */
#define CONFIG_SYS_ALT_MEMTEST 1
#define CONFIG_SYS_MEMTEST_START (0x82000000) /* memtest */
/* defaults */
@@ -284,7 +285,12 @@
#define CONFIG_SPL
#define CONFIG_SPL_FRAMEWORK
#define CONFIG_SPL_NAND_SIMPLE
-#define CONFIG_SPL_TEXT_BASE 0x40200800
+
+/* SPL TEXT BASE needs to be 0x40200000 for booting from bootrom.
+ * If you're using the debugger other values are possible.
+ */
+
+#define CONFIG_SPL_TEXT_BASE 0x40200000
#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
@@ -305,6 +311,7 @@
#define CONFIG_SPL_POWER_SUPPORT
#define CONFIG_SPL_OMAP3_ID_NAND
#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_YMODEM_SUPPORT
/* NAND boot config */
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
@@ -317,7 +324,7 @@
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
+#define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_HAM1_CODE_HW
#define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000