imx: imx8mn/p: drop CONFIG_SYS_[I,D]CACHE_OFF
authorPeng Fan <peng.fan@nxp.com>
Wed, 13 Jan 2021 02:56:36 +0000 (10:56 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 23 Jan 2021 10:30:31 +0000 (11:30 +0100)
Drop CONFIG_SYS_[I,D]CACHE_OFF, it is safe to run with caches enabled on
these platforms.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
include/configs/imx8mn_evk.h
include/configs/imx8mp_evk.h

index b97a0fc17e1320b1f9f83d8dd16624c3beb88f04..1e2825337e2d1f9ac1e93b449bc79c41730817ac 100644 (file)
@@ -25,8 +25,6 @@
 #define CONFIG_SPL_BSS_MAX_SIZE                SZ_8K   /* 8 KB */
 #define CONFIG_SYS_SPL_MALLOC_START    0x42200000
 #define CONFIG_SYS_SPL_MALLOC_SIZE     SZ_512K /* 512 KB */
-#define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_SYS_DCACHE_OFF
 
 /* For RAW image gives a error info not panic */
 #define CONFIG_SPL_ABORT_ON_RAW_IMAGE
index 2f58ba3f9fcbba34565ca7a2c9b41346e0e554e2..5cda473e7828b20474193eb0b80fbc8e144f27b5 100644 (file)
@@ -26,8 +26,6 @@
 #define CONFIG_SPL_BSS_MAX_SIZE                0x400   /* 1 KB */
 #define CONFIG_SYS_SPL_MALLOC_START    0x42200000
 #define CONFIG_SYS_SPL_MALLOC_SIZE     SZ_512K /* 512 KB */
-#define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_SYS_DCACHE_OFF
 
 #define CONFIG_SPL_ABORT_ON_RAW_IMAGE