diff mbox series

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

Message ID 20220519115928.2601675-1-festevam@gmail.com
State Accepted
Commit ec7eb75fcfe993a3b9efaf5a4e5d6e2f76ba2198
Delegated to: Stefano Babic
Headers show
Series [1/3] imx8mm-cl-iot-gate: Enable cache in SPL | expand

Commit Message

Fabio Estevam May 19, 2022, 11:59 a.m. UTC
From: Fabio Estevam <festevam@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@denx.de>
---
 configs/imx8mm-cl-iot-gate-optee_defconfig | 2 --
 configs/imx8mm-cl-iot-gate_defconfig       | 2 --
 2 files changed, 4 deletions(-)

Comments

Michael Nazzareno Trimarchi May 19, 2022, 12:01 p.m. UTC | #1
Hi Fabio

On Thu, May 19, 2022 at 2:00 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> From: Fabio Estevam <festevam@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@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@amarulasolutions.com>

Michael
Stefano Babic May 20, 2022, 1:44 p.m. UTC | #2
> From: Fabio Estevam <festevam@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@denx.de>
> Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

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