public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mx53: use CONFIG_SYS_L2CACHE_OFF in config file
@ 2011-07-26  8:25 Jason Liu
  2011-07-26  9:21 ` Stefano Babic
  2011-07-26  9:34 ` Wolfgang Denk
  0 siblings, 2 replies; 10+ messages in thread
From: Jason Liu @ 2011-07-26  8:25 UTC (permalink / raw)
  To: u-boot

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

But the above commit does not clean up all the mx53 board config file.
This patch does it by using CONFIG_SYS_L2CACHE_OFF instead of _L2_OFF

Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc:Stefano Babic <sbabic@denx.de>
---
 include/configs/mx53ard.h  |    2 +-
 include/configs/mx53loco.h |    2 +-
 include/configs/mx53smd.h  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index c872510..0e323e6 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -29,7 +29,7 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
+#define CONFIG_SYS_L2CACHE_OFF
 
 #include <asm/arch/imx-regs.h>
 
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 544e3fb..bc1b401 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -30,7 +30,7 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
+#define CONFIG_SYS_L2CACHE_OFF
 
 #include <asm/arch/imx-regs.h>
 
diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
index 65d5e05..194047b 100644
--- a/include/configs/mx53smd.h
+++ b/include/configs/mx53smd.h
@@ -29,7 +29,7 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
+#define CONFIG_SYS_L2CACHE_OFF
 
 #include <asm/arch/imx-regs.h>
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [U-Boot] [PATCH] mx53: use CONFIG_SYS_L2CACHE_OFF in config file
@ 2011-07-26  8:17 Jason Liu
  0 siblings, 0 replies; 10+ messages in thread
From: Jason Liu @ 2011-07-26  8:17 UTC (permalink / raw)
  To: u-boot

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

But the above commit does not clean up all the mx53 board config file.
This patch does it by using CONFIG_SYS_L2CACHE_OFF instead of _L2_OFF

Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc:Stefano Babic <sbabic@denx.de>
---
 include/configs/mx53ard.h  |    2 +-
 include/configs/mx53loco.h |    2 +-
 include/configs/mx53smd.h  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index c872510..0e323e6 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -29,7 +29,7 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
+#define CONFIG_SYS_L2CACHE_OFF
 
 #include <asm/arch/imx-regs.h>
 
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 544e3fb..bc1b401 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -30,7 +30,7 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
+#define CONFIG_SYS_L2CACHE_OFF
 
 #include <asm/arch/imx-regs.h>
 
diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
index 65d5e05..194047b 100644
--- a/include/configs/mx53smd.h
+++ b/include/configs/mx53smd.h
@@ -29,7 +29,7 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_L2_OFF
+#define CONFIG_SYS_L2CACHE_OFF
 
 #include <asm/arch/imx-regs.h>
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-07-28 10:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26  8:25 [U-Boot] [PATCH] mx53: use CONFIG_SYS_L2CACHE_OFF in config file Jason Liu
2011-07-26  9:21 ` Stefano Babic
2011-07-26  9:44   ` Jason Hui
2011-07-28  5:56     ` Jason Liu
2011-07-28  6:32       ` Stefano Babic
2011-07-28 10:22         ` Jason Liu
2011-07-28 10:40           ` Stefano Babic
2011-07-26  9:34 ` Wolfgang Denk
2011-07-27  2:36   ` Jason Liu
  -- strict thread matches above, loose matches on Subject: below --
2011-07-26  8:17 Jason Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox