[U-Boot] [PATCH V2] 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
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>

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

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
participants (2)
-
Jason Liu
-
Stefano Babic