diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-12 16:38:35 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-06-17 11:14:01 +0800 |
commit | 0a79c88e23b361d1309f1baaf800a5f7b7af79ad (patch) | |
tree | 85bbbad63da27242e99977a151096535b4c6d874 /board/freescale/mx6sxsabresd/mx6sxsabresd.c | |
parent | bfc7a914724643beb327d6b9412afa468ead81ec (diff) | |
download | u-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 'board/freescale/mx6sxsabresd/mx6sxsabresd.c')
-rw-r--r-- | board/freescale/mx6sxsabresd/mx6sxsabresd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index 3f098f4..5aca602 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -555,6 +555,10 @@ int board_early_init_f(void) imx_rdc_setup_peripherals(shared_resources, ARRAY_SIZE(shared_resources)); #endif +#ifdef CONFIG_SYS_AUXCORE_FASTUP + arch_auxiliary_core_up(0, CONFIG_SYS_AUXCORE_BOOTDATA); +#endif + setup_iomux_uart(); return 0; } |