]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: stm32f4xx: Enable ICACHE and DCACHE
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 3 Aug 2018 09:46:14 +0000 (11:46 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 13 Aug 2018 18:03:57 +0000 (14:03 -0400)
Enable instruction and data caches.
Fix boot_sd command as since commit d409c962169b ("armv7m: disable
 icache before linux booting"), instruction cache is automatically
disable before linux booting. "icache off" from boot_sd command
becomes useless, remove it.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
include/configs/stm32f429-discovery.h
include/configs/stm32f429-evaluation.h
include/configs/stm32f469-discovery.h

index 38af704c3b96d93022df150e59694a12ecc36532..90d7429e706b3f46adbf1f81359081696785fc04 100644 (file)
@@ -13,9 +13,6 @@
 
 #define CONFIG_SYS_INIT_SP_ADDR                0x10010000
 
-#define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_SYS_DCACHE_OFF
-
 /*
  * Configuration of the external SDRAM memory
  */
index 258ae767d2337c9132e1b7111607d5308ffa297a..d48940d0c884c2f29adbbfc5ac5437295fdc6ad0 100644 (file)
@@ -13,9 +13,6 @@
 
 #define CONFIG_SYS_INIT_SP_ADDR                0x10010000
 
-#define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_SYS_DCACHE_OFF
-
 /*
  * Configuration of the external SDRAM memory
  */
@@ -48,7 +45,7 @@
        "run boot_sd"
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-       "boot_sd=mmc dev 0;fatload mmc 0 0x00700000 stm32429i-eval.dtb; fatload mmc 0 0x00008000 zImage; icache off; bootz 0x00008000 - 0x00700000"
+       "boot_sd=mmc dev 0;fatload mmc 0 0x00700000 stm32429i-eval.dtb; fatload mmc 0 0x00008000 zImage; bootz 0x00008000 - 0x00700000"
 
 /*
  * Command line configuration.
index a9182450e607d36de92ca6da799a3c6074319941..be8c2331566b6ddf861bda7153655c1657522d8d 100644 (file)
@@ -13,9 +13,6 @@
 
 #define CONFIG_SYS_INIT_SP_ADDR                0x10010000
 
-#define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_SYS_DCACHE_OFF
-
 /*
  * Configuration of the external SDRAM memory
  */
@@ -48,7 +45,7 @@
        "run boot_sd"
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-       "boot_sd=mmc dev 0;fatload mmc 0 0x00700000 stm32f469-disco.dtb; fatload mmc 0 0x00008000 zImage; icache off; bootz 0x00008000 - 0x00700000"
+       "boot_sd=mmc dev 0;fatload mmc 0 0x00700000 stm32f469-disco.dtb; fatload mmc 0 0x00008000 zImage; bootz 0x00008000 - 0x00700000"
 
 /*
  * Command line configuration.