summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv310/mach-smdkv310.c
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-10-21 16:28:20 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-10-25 16:11:07 +0900
commit57c1f8713605489b3d4914f68a96564858d7c91d (patch)
tree86792683a335c845eeb238f24261006c7be86874 /arch/arm/mach-s5pv310/mach-smdkv310.c
parent63612a1f916d2f1b51bed68cd6d90245371430f1 (diff)
downloadlinux-next-57c1f8713605489b3d4914f68a96564858d7c91d.tar.gz
ARM: S5PV310: Remove L2 cache init in machine
Basically, need L2 cache initialize function in ARCH_S5PV310. So it would be better to move it into ARCH_S5PV310 common part. This patch removes L2 cache initialization code at the each board file. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Changhwan Youn <chaos.youn@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/mach-smdkv310.c')
-rw-r--r--arch/arm/mach-s5pv310/mach-smdkv310.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-s5pv310/mach-smdkv310.c b/arch/arm/mach-s5pv310/mach-smdkv310.c
index 10f80566516d..e350a7582d08 100644
--- a/arch/arm/mach-s5pv310/mach-smdkv310.c
+++ b/arch/arm/mach-s5pv310/mach-smdkv310.c
@@ -15,7 +15,6 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>
-#include <asm/hardware/cache-l2x0.h>
#include <plat/regs-serial.h>
#include <plat/s5pv310.h>
@@ -129,10 +128,6 @@ static void __init smdkv310_machine_init(void)
s3c_sdhci2_set_platdata(&smdkv310_hsmmc2_pdata);
s3c_sdhci3_set_platdata(&smdkv310_hsmmc3_pdata);
-#ifdef CONFIG_CACHE_L2X0
- l2x0_init(S5P_VA_L2CC, 1 << 28, 0xffffffff);
-#endif
-
platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices));
}