[PATCH 1/3] imx8mm-cl-iot-gate: Enable cache in SPL

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Thu May 19 14:01:49 CEST 2022


Hi Fabio

On Thu, May 19, 2022 at 2:00 PM Fabio Estevam <festevam at gmail.com> 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>
> ---
>  configs/imx8mm-cl-iot-gate-optee_defconfig | 2 --
>  configs/imx8mm-cl-iot-gate_defconfig       | 2 --
>  2 files changed, 4 deletions(-)
>
> diff --git a/configs/imx8mm-cl-iot-gate-optee_defconfig b/configs/imx8mm-cl-iot-gate-optee_defconfig
> index 0bde51a91f53..8b3d1b3ef1a1 100644
> --- a/configs/imx8mm-cl-iot-gate-optee_defconfig
> +++ b/configs/imx8mm-cl-iot-gate-optee_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_SPL_GPIO=y
> diff --git a/configs/imx8mm-cl-iot-gate_defconfig b/configs/imx8mm-cl-iot-gate_defconfig
> index d734586a60cc..b418e86248f9 100644
> --- a/configs/imx8mm-cl-iot-gate_defconfig
> +++ b/configs/imx8mm-cl-iot-gate_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
> --
> 2.25.1
>

Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>

Michael


-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list