MLK-15327 imx8mq_evk: Enable CACHE commands
authorYe Li <ye.li@nxp.com>
Tue, 4 Jul 2017 10:01:56 +0000 (05:01 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:00 +0000 (02:37 +0800)
Enable the icache and dcache commands, so that user can operate caches.
We have set the TCML/U to cachable, so need to flush dcache after copying
image to TCM before kick M4 running.

Signed-off-by: Ye Li <ye.li@nxp.com>
configs/imx8mq_evk_defconfig

index aa2873e..af86f46 100644 (file)
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg"
 CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_OF_LIBFDT=y
+CONFIG_CMD_CACHE=y