diff options
| author | mattis fjallstrom <mattis@acm.org> | 2014-10-15 03:40:52 +0200 |
|---|---|---|
| committer | mattis fjallstrom <mattis@acm.org> | 2014-10-15 03:40:52 +0200 |
| commit | 95a5724b19c0c1281a7f72ad1812079a53a52dbc (patch) | |
| tree | 100f5fe1d385b5cd012cc1f4db0bf6aa46ffc30c /include | |
| parent | a252a3577da19fb129333c4adc07fd473d10f289 (diff) | |
| download | olio-uboot-2014.01-95a5724b19c0c1281a7f72ad1812079a53a52dbc.tar.xz olio-uboot-2014.01-95a5724b19c0c1281a7f72ad1812079a53a52dbc.zip | |
Adding memtest and build-time flag for SPL serial boot
Change-Id: Iaf14e63498c3cdca4e2125b8217195b90caf842b
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/omap3_h1.h | 11 |
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 |