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

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/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

From: Fabio Estevam festevam@denx.de
The imx8mn_evk target have been converted to use binman.
With the binman approach the ATF load address is described via devicetree, so remove the now unneeded instruction of exporting ATF_LOAD_ADDR.
Signed-off-by: Fabio Estevam festevam@denx.de --- doc/board/nxp/imx8mn_evk.rst | 1 - 1 file changed, 1 deletion(-)
diff --git a/doc/board/nxp/imx8mn_evk.rst b/doc/board/nxp/imx8mn_evk.rst index 711545af896a..c45bb7bac7a1 100644 --- a/doc/board/nxp/imx8mn_evk.rst +++ b/doc/board/nxp/imx8mn_evk.rst @@ -42,7 +42,6 @@ Build U-Boot
$ export CROSS_COMPILE=aarch64-poky-linux- $ make imx8mn_ddr4_evk_defconfig - $ export ATF_LOAD_ADDR=0x960000 $ make
Burn the flash.bin to MicroSD card offset 32KB:

From: Fabio Estevam festevam@denx.de The imx8mn_evk target have been converted to use binman. With the binman approach the ATF load address is described via devicetree, so remove the now unneeded instruction of exporting ATF_LOAD_ADDR. Signed-off-by: Fabio Estevam festevam@denx.de
Applied to u-boot-imx, master, thanks !
Best regards, Stefano Babic

On 2022/4/19 1:15, Fabio Estevam wrote:
From: Fabio Estevam festevam@denx.de
The imx8mn_evk target have been converted to use binman.
With the binman approach the ATF load address is described via devicetree, so remove the now unneeded instruction of exporting ATF_LOAD_ADDR.
Signed-off-by: Fabio Estevam festevam@denx.de
Reviewed-by: Peng Fan peng.fan@nxp.com
doc/board/nxp/imx8mn_evk.rst | 1 - 1 file changed, 1 deletion(-)
diff --git a/doc/board/nxp/imx8mn_evk.rst b/doc/board/nxp/imx8mn_evk.rst index 711545af896a..c45bb7bac7a1 100644 --- a/doc/board/nxp/imx8mn_evk.rst +++ b/doc/board/nxp/imx8mn_evk.rst @@ -42,7 +42,6 @@ Build U-Boot
$ export CROSS_COMPILE=aarch64-poky-linux- $ make imx8mn_ddr4_evk_defconfig
$ export ATF_LOAD_ADDR=0x960000 $ make
Burn the flash.bin to MicroSD card offset 32KB:

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
Applied to u-boot-imx, master, thanks !
Best regards, Stefano Babic

On 2022/4/19 1:15, Fabio Estevam 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
Reviewed-by: Peng Fan peng.fan@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
participants (3)
-
Fabio Estevam
-
Peng Fan (OSS)
-
sbabic@denx.de