[PATCH 1/2] imx8mn_evk: Enable cache in SPL

Peng Fan (OSS) peng.fan at oss.nxp.com
Thu Apr 28 11:00:04 CEST 2022



On 2022/4/19 1:15, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
> 
> There is no reason for disabling I-cache and D-cache
> in SPL.
> 
> Remove the unneeded CONFIG_SPL_SYS_ICACHE_OFF and
> CONFIG_SPL_SYS_DCACHE_OFF options.
> 
> Signed-off-by: Fabio Estevam <festevam at denx.de>

Reviewed-by: Peng Fan <peng.fan at nxp.com>
> ---
>   configs/imx8mn_evk_defconfig | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/configs/imx8mn_evk_defconfig b/configs/imx8mn_evk_defconfig
> index b2981d1e3692..e661b3ba7e55 100644
> --- a/configs/imx8mn_evk_defconfig
> +++ b/configs/imx8mn_evk_defconfig
> @@ -1,6 +1,4 @@
>   CONFIG_ARM=y
> -CONFIG_SPL_SYS_ICACHE_OFF=y
> -CONFIG_SPL_SYS_DCACHE_OFF=y
>   CONFIG_ARCH_IMX8M=y
>   CONFIG_SYS_TEXT_BASE=0x40200000
>   CONFIG_SYS_MALLOC_LEN=0x2000000
> 


More information about the U-Boot mailing list