summaryrefslogtreecommitdiff
path: root/arch/arm/imx-common/Kconfig
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-11-14 17:58:04 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 17:23:53 +0800
commit81b5ea14493ef25a6cca22bc5651ec3e93e941f3 (patch)
tree3663323084ac4d40346f74a4156a2ea9e40c74dc /arch/arm/imx-common/Kconfig
parent0dbc05440c35328098c3596893c8e6bb8c4e8e40 (diff)
downloadu-boot-imx-81b5ea14493ef25a6cca22bc5651ec3e93e941f3.zip
u-boot-imx-81b5ea14493ef25a6cca22bc5651ec3e93e941f3.tar.gz
u-boot-imx-81b5ea14493ef25a6cca22bc5651ec3e93e941f3.tar.bz2
MLK-13450-7 mx7ulp: Add M4 core boot support when using single boot mode
The single boot mode in MX7ULP will only boot up A7, the M4 is running in ROM by checking entry from SIM0 GP register. In this patch, We bind M4 image with u-boot.bin by allocating a section for m4 image. So the whole image (included M4 image) will be loaded by A7 ROM into DDR. Then when u-boot is up, it will try to load M4 image into TCML and boot it there. Since M4 image will not be relocated in u-boot codes, we must load it during board_f. Current implementation put it in arch_cpu_init to get M4 booted as quick as possible. We requires the M4 image with IVT head and padding embedded, not a RAW binary. The image should be same as what is used for M4 QSPI boot in dual boot mode. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 04163dbd4f6190f310fff17b53b4bc7b8370ba89)
Diffstat (limited to 'arch/arm/imx-common/Kconfig')
-rw-r--r--arch/arm/imx-common/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig
index c75a38e..c2d2f40 100644
--- a/arch/arm/imx-common/Kconfig
+++ b/arch/arm/imx-common/Kconfig
@@ -47,3 +47,10 @@ config DBG_MONITOR
This option enables the debug monitor which prints out last
failed AXI access info when system reboot is caused by AXI
access failure.
+
+config IMX_M4_BIND
+ bool "Bind ULP M4 image to final u-boot"
+ depends on ARCH_MX7ULP
+ help
+ Select this to bind a ULP M4 image to final u-boot image
+ User needs put the M4 image ulp_m4.bin under u-boot directory