Skip to contentSkip to conversation

configs: clean up unused macro CONFIG_L2_OFF

PATCH New Masahiro Yamada 2 participants 2 messages Nov 11, 2013 – Nov 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 configs: clean up unused macro CONFIG_L2_OFF

Since commit c2dd0d455 and 45bf05854 introduced
the new cache maintainance framework to ARM,
CONFIG_L2_OFF has not been used at all.

---
Changes in v2:
- fix commit log

 include/configs/highbank.h         | 1 -
 include/configs/kzm9g.h            | 1 -
 include/configs/mx51_efikamx.h     | 1 -
 include/configs/origen.h           | 2 --
 include/configs/smdkv310.h         | 3 ---
 include/configs/snowball.h         | 1 -
 include/configs/socfpga_cyclone5.h | 1 -
 include/configs/u8500_href.h       | 1 -
 8 files changed, 11 deletions(-)
include/configs/highbank.h +0 -1
index b86eb43..7dbee3c 100644
@@ -8,7 +8,6 @@
 #define __CONFIG_H
 
 #define CONFIG_SYS_DCACHE_OFF
-#define CONFIG_L2_OFF
 #define CONFIG_SYS_THUMB_BUILD
 
 #define CONFIG_SYS_NO_FLASH
include/configs/kzm9g.h +0 -1
index 1afd487..0359e9b 100644
@@ -22,7 +22,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_BOARD_EARLY_INIT_F
-#define CONFIG_L2_OFF
 #define CONFIG_OF_LIBFDT
 
 #include <config_cmd_default.h>
include/configs/mx51_efikamx.h +0 -1
index 8a44ef5..0f2a4ef 100644
@@ -29,7 +29,6 @@
 
 #define CONFIG_SYS_TEXT_BASE		0x97800000
 
-#define	CONFIG_L2_OFF
 #define	CONFIG_SYS_ICACHE_OFF
 #define	CONFIG_SYS_DCACHE_OFF
 
include/configs/origen.h +0 -2
index bad34b3..f46b833 100644
@@ -22,8 +22,6 @@
 #define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_BOARD_EARLY_INIT_F
 
-/* Keep L2 Cache Disabled */
-#define CONFIG_L2_OFF			1
 #define CONFIG_SYS_DCACHE_OFF		1
 
 #define CONFIG_SYS_SDRAM_BASE		0x40000000
include/configs/smdkv310.h +0 -3
index e2e8efe..1388f49 100644
@@ -25,9 +25,6 @@
 /* Mach Type */
 #define CONFIG_MACH_TYPE		MACH_TYPE_SMDKV310
 
-/* Keep L2 Cache Disabled */
-#define CONFIG_L2_OFF			1
-
 #define CONFIG_SYS_SDRAM_BASE		0x40000000
 #define CONFIG_SYS_TEXT_BASE		0x43E00000
 
include/configs/snowball.h +0 -1
index 00d6fa5..9a069f3 100644
@@ -23,7 +23,6 @@
  * (easy to change)
  */
 #define CONFIG_U8500
-#define CONFIG_L2_OFF
 
 #define CONFIG_SYS_MEMTEST_START	0x00000000
 #define CONFIG_SYS_MEMTEST_END	0x1FFFFFFF
include/configs/socfpga_cyclone5.h +0 -1
index 980636c..608578a 100644
@@ -16,7 +16,6 @@
 #define CONFIG_SOCFPGA_VIRTUAL_TARGET
 
 #define CONFIG_ARMV7
-#define CONFIG_L2_OFF
 #define CONFIG_SYS_DCACHE_OFF
 #undef CONFIG_USE_IRQ
 
include/configs/u8500_href.h +0 -1
index 45d33a6..629299d 100644
@@ -12,7 +12,6 @@
  * (easy to change)
  */
 #define CONFIG_U8500
-#define CONFIG_L2_OFF
 
 #define CONFIG_SYS_MEMTEST_START	0x00000000
 #define CONFIG_SYS_MEMTEST_END	0x1FFFFFFF
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH v2 1/1 configs: clean up unused macro CONFIG_L2_OFF

Quoted 5 lines · Masahiro Yamada

Since commit c2dd0d455 and 45bf05854 introduced
the new cache maintainance framework to ARM,
CONFIG_L2_OFF has not been used at all.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131117/4de34812/attachment.pgp>