All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2] mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF
@ 2011-08-03 10:05 Jason Liu
  2011-08-03 12:17 ` Stefano Babic
  2011-08-05  8:43 ` Stefano Babic
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Liu @ 2011-08-03 10:05 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

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

Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc:Stefano Babic <sbabic@denx.de>
---
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(-)

diff --git a/include/configs/efikamx.h b/include/configs/efikamx.h
index 7d3363a..b90e342 100644
--- a/include/configs/efikamx.h
+++ b/include/configs/efikamx.h
@@ -40,8 +40,6 @@
 
 #define CONFIG_SYS_TEXT_BASE		0x97800000
 
-#define CONFIG_SYS_L2CACHE_OFF
-
 /*
  * Bootloader Components Configuration
  */
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index fd42afc..3f2aca1 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -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
diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index c872510..c0b8d6a 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -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 */
diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
index 5f54035..7fb1d9a 100644
--- a/include/configs/mx53evk.h
+++ b/include/configs/mx53evk.h
@@ -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 */
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 544e3fb..cfb38a5 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -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
diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
index 65d5e05..49f8c6e 100644
--- a/include/configs/mx53smd.h
+++ b/include/configs/mx53smd.h
@@ -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 */
diff --git a/include/configs/vision2.h b/include/configs/vision2.h
index 50c920d..b5c7357 100644
--- a/include/configs/vision2.h
+++ b/include/configs/vision2.h
@@ -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>
-- 
1.7.4.1

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

* [U-Boot] [PATCH V2] mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF
  2011-08-03 10:05 [U-Boot] [PATCH V2] mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF Jason Liu
@ 2011-08-03 12:17 ` Stefano Babic
  2011-08-05  8:43 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2011-08-03 12:17 UTC (permalink / raw)
  To: u-boot

On 08/03/2011 12:05 PM, Jason Liu wrote:
> 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
> 
> Signed-off-by: Jason Liu <jason.hui@linaro.org>
> Cc:Stefano Babic <sbabic@denx.de>
> ---

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

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

* [U-Boot] [PATCH V2] mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF
  2011-08-03 10:05 [U-Boot] [PATCH V2] mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF Jason Liu
  2011-08-03 12:17 ` Stefano Babic
@ 2011-08-05  8:43 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2011-08-05  8:43 UTC (permalink / raw)
  To: u-boot

On 08/03/2011 12:05 PM, Jason Liu wrote:
> 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
> 
> Signed-off-by: Jason Liu <jason.hui@linaro.org>
> Cc:Stefano Babic <sbabic@denx.de>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

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

end of thread, other threads:[~2011-08-05  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-03 10:05 [U-Boot] [PATCH V2] mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF Jason Liu
2011-08-03 12:17 ` Stefano Babic
2011-08-05  8:43 ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.