Commit ca38dc2f authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

configs: stm32f4xx: Enable ICACHE and DCACHE

Enable instruction and data caches.
Fix boot_sd command as since commit d409c962

 ("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's avatarPatrice Chotard <patrice.chotard@st.com>
parent 042ac088
......@@ -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
*/
......
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment