summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-12 16:38:35 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:14:01 +0800
commit0a79c88e23b361d1309f1baaf800a5f7b7af79ad (patch)
tree85bbbad63da27242e99977a151096535b4c6d874 /include/configs
parentbfc7a914724643beb327d6b9412afa468ead81ec (diff)
downloadu-boot-imx-0a79c88e23b361d1309f1baaf800a5f7b7af79ad.zip
u-boot-imx-0a79c88e23b361d1309f1baaf800a5f7b7af79ad.tar.gz
u-boot-imx-0a79c88e23b361d1309f1baaf800a5f7b7af79ad.tar.bz2
ENGR00315894-66 iMX6SX:SABRESD Support M4 fast boot at early stage
T support M4 boot in 50 ms, kick start M4 at "board_early_init_f" stage where u-boot passes ARM and architecture initialization. Add a configuration "CONFIG_SYS_AUXCORE_FASTUP" for this feature enablement. And a build config "mx6sxsabresd_m4fastup". Adjust the default M4 image address to 0x78000000 represented by "CONFIG_SYS_AUXCORE_BOOTDATA". When M4 fast boot is enabled, RDC should be enabled together and the QSPI driver must turn off, because M4 is running on QSPI flash in XIP. Setup this relationship by configurations. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6sxsabresd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index a495377..ea26f3f 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -125,8 +125,10 @@
#define CONFIG_SYS_TEXT_BASE 0x87800000
#define CONFIG_SYS_AUXCORE_BOOTDATA 0x78000000 /* Set to QSPI2 B flash at default */
-#define CONFIG_CMD_BOOTAUX /* Boot M4 */
+#ifndef CONFIG_SYS_AUXCORE_FASTUP
+#define CONFIG_CMD_BOOTAUX /* Boot M4 by command, disable this when M4 fast up */
#define CONFIG_CMD_SETEXPR
+#endif
#ifdef CONFIG_CMD_BOOTAUX
#define UPDATE_M4_ENV \
@@ -274,7 +276,10 @@
#define CONFIG_ENV_SIZE SZ_8K
-#ifdef CONFIG_SYS_BOOT_QSPI
+#ifdef CONFIG_SYS_AUXCORE_FASTUP
+#define CONFIG_MXC_RDC
+#define CONFIG_ENV_IS_IN_MMC /* Must disable QSPI driver, because M4 run on QSPI */
+#elif defined CONFIG_SYS_BOOT_QSPI
#define CONFIG_SYS_USE_QSPI
#define CONFIG_ENV_IS_IN_SPI_FLASH
#else