Commit 2edb89cd authored by Russell King's avatar Russell King

ARM: l2c: shmobile: remove cache size override

The cache size should already be present in the L2 cache auxiliary
control register: it is part of the integration process to configure
the hardware IP.  Most platforms get this right, yet still many
cargo-cult program, and assume that they always need specifying to
the L2 cache code.  Remove them so we can find out which really need
this.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 2a2d2fff
...@@ -165,7 +165,7 @@ static void __init eva_init(void) ...@@ -165,7 +165,7 @@ static void __init eva_init(void)
#ifdef CONFIG_CACHE_L2X0 #ifdef CONFIG_CACHE_L2X0
/* Shared attribute override enable, 32K*8way */ /* Shared attribute override enable, 32K*8way */
l2x0_init(IOMEM(0xf0002000), 0x00440000, 0xc2000fff); l2x0_init(IOMEM(0xf0002000), 0x00400000, 0xc20f0fff);
#endif #endif
r8a7740_add_standard_devices_dt(); r8a7740_add_standard_devices_dt();
......
...@@ -1272,7 +1272,7 @@ static void __init eva_init(void) ...@@ -1272,7 +1272,7 @@ static void __init eva_init(void)
#ifdef CONFIG_CACHE_L2X0 #ifdef CONFIG_CACHE_L2X0
/* Shared attribute override enable, 32K*8way */ /* Shared attribute override enable, 32K*8way */
l2x0_init(IOMEM(0xf0002000), 0x00440000, 0xc2000fff); l2x0_init(IOMEM(0xf0002000), 0x00400000, 0xc20f0fff);
#endif #endif
i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices)); i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices));
......
...@@ -37,7 +37,7 @@ static void __init kzm_init(void) ...@@ -37,7 +37,7 @@ static void __init kzm_init(void)
#ifdef CONFIG_CACHE_L2X0 #ifdef CONFIG_CACHE_L2X0
/* Shared attribute override enable, 64K*8way */ /* Shared attribute override enable, 64K*8way */
l2x0_init(IOMEM(0xf0100000), 0x00460000, 0xc2000fff); l2x0_init(IOMEM(0xf0100000), 0x00400000, 0xc20f0fff);
#endif #endif
} }
......
...@@ -877,7 +877,7 @@ static void __init kzm_init(void) ...@@ -877,7 +877,7 @@ static void __init kzm_init(void)
#ifdef CONFIG_CACHE_L2X0 #ifdef CONFIG_CACHE_L2X0
/* Shared attribute override enable, 64K*8way */ /* Shared attribute override enable, 64K*8way */
l2x0_init(IOMEM(0xf0100000), 0x00460000, 0xc2000fff); l2x0_init(IOMEM(0xf0100000), 0x00400000, 0xc20f0fff);
#endif #endif
i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices)); i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices));
......
...@@ -301,7 +301,7 @@ void __init r8a7778_add_dt_devices(void) ...@@ -301,7 +301,7 @@ void __init r8a7778_add_dt_devices(void)
* Shared attribute override enable, 64K*16way * Shared attribute override enable, 64K*16way
* don't call iounmap(base) * don't call iounmap(base)
*/ */
l2x0_init(base, 0x00470000, 0xc2000fff); l2x0_init(base, 0x00400000, 0xc20f0fff);
} }
#endif #endif
......
...@@ -701,7 +701,7 @@ void __init r8a7779_add_standard_devices(void) ...@@ -701,7 +701,7 @@ void __init r8a7779_add_standard_devices(void)
{ {
#ifdef CONFIG_CACHE_L2X0 #ifdef CONFIG_CACHE_L2X0
/* Shared attribute override enable, 64K*16way */ /* Shared attribute override enable, 64K*16way */
l2x0_init(IOMEM(0xf0100000), 0x00470000, 0xc2000fff); l2x0_init(IOMEM(0xf0100000), 0x00400000, 0xc20f0fff);
#endif #endif
r8a7779_pm_init(); r8a7779_pm_init();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment