Skip to contentSkip to conversation

mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

PATCH New Jason Liu 2 participants 3 messages Aug 3, 2011 – Aug 5, 2011

lore
Share & tools
lore

Jason Liu

author
#0 lore raw

PATCH v2 1/1 mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

CONFIG_L2_OFF is obsolete after the following commit:

e47f2db5371047eb9bcd115fee084e6a8a92a239
armv7: rename cache related CONFIG flags
Replace the cache related CONFIG flags with more meaningful names. Following are the changes:
CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF

Since imx5 does not provide L2 cache operations(Enable/Disable) Simply remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

Cc Stefano Babic <[email protected]>

---
V2: remove config L2_OFF and CONFIG_SYS_L2CACHE_OFF stefano:not include the d-cache due to the recent d-cache fix by Aneesh

---
 include/configs/efikamx.h  |    2 --
 include/configs/mx51evk.h  |    2 --
 include/configs/mx53ard.h  |    2 --
 include/configs/mx53evk.h  |    2 --
 include/configs/mx53loco.h |    2 --
 include/configs/mx53smd.h  |    2 --
 include/configs/vision2.h  |    1 -
 7 files changed, 0 insertions(+), 13 deletions(-)
include/configs/efikamx.h +0 -2
index 7d3363a..b90e342 100644
@@ -40,8 +40,6 @@
 
 #define CONFIG_SYS_TEXT_BASE		0x97800000
 
-#define CONFIG_SYS_L2CACHE_OFF
-
 /*
  * Bootloader Components Configuration
  */
include/configs/mx51evk.h +0 -2
index fd42afc..3f2aca1 100644
@@ -35,8 +35,6 @@
 
 #define CONFIG_SYS_TEXT_BASE	0x97800000
 
-#define CONFIG_SYS_L2CACHE_OFF
-
 #include <asm/arch/imx-regs.h>
 /*
  * Disabled for now due to build problems under Debian and a significant
include/configs/mx53ard.h +0 -2
index c872510..c0b8d6a 100644
@@ -29,8 +29,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
-
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_CMDLINE_TAG			/* enable passing of ATAGs */
include/configs/mx53evk.h +0 -2
index 5f54035..7fb1d9a 100644
@@ -29,8 +29,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_SYS_L2CACHE_OFF
-
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_CMDLINE_TAG		1	/* enable passing of ATAGs */
include/configs/mx53loco.h +0 -2
index 544e3fb..cfb38a5 100644
@@ -30,8 +30,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
-
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_CMDLINE_TAG
include/configs/mx53smd.h +0 -2
index 65d5e05..49f8c6e 100644
@@ -29,8 +29,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
-
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_CMDLINE_TAG			/* enable passing of ATAGs */
include/configs/vision2.h +0 -1
index 50c920d..b5c7357 100644
@@ -26,7 +26,6 @@
 
 
 #define CONFIG_MX51	/* in a mx51 */
-#define CONFIG_SYS_L2CACHE_OFF
 #define CONFIG_SYS_TEXT_BASE	0x97800000
 
 #include <asm/arch/imx-regs.h>
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH v2 1/1 mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

Quoted 8 lines · Jason Liu

CONFIG_L2_OFF is obsolete after the following commit:

e47f2db5371047eb9bcd115fee084e6a8a92a239
armv7: rename cache related CONFIG flags
Replace the cache related CONFIG flags with more meaningful names. Following are the changes:
CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF

Quoted 6 lines

Since imx5 does not provide L2 cache operations(Enable/Disable) Simply remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

Cc Stefano Babic <[email protected]>

---

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
#2 lore raw

PATCH v2 1/1 mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

In reply to Jason Liu
Quoted 8 lines · Jason Liu

CONFIG_L2_OFF is obsolete after the following commit:

e47f2db5371047eb9bcd115fee084e6a8a92a239
armv7: rename cache related CONFIG flags
Replace the cache related CONFIG flags with more meaningful names. Following are the changes:
CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF

Quoted 6 lines

Since imx5 does not provide L2 cache operations(Enable/Disable) Simply remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

Cc Stefano Babic <[email protected]>

---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================