diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-05 11:45:34 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-05-30 00:49:12 +0100 |
commit | 25a9ef63cd2beb248e51bd192df19fbe5cf20545 (patch) | |
tree | 994becfba0c4e538b21c4a8f5fadf485502e94fc /arch/arm/mach-exynos/exynos.c | |
parent | dfbdd3d55403ebd29a355e907e53576ce57c6d96 (diff) | |
download | linux-25a9ef63cd2beb248e51bd192df19fbe5cf20545.tar.gz |
ARM: l2c: exynos: convert to common l2c310 early resume functionality
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-exynos/exynos.c')
-rw-r--r-- | arch/arm/mach-exynos/exynos.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index a51bf25e7523..fbfc29df3299 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -318,17 +318,7 @@ core_initcall(exynos_core_init); static int __init exynos4_l2x0_cache_init(void) { - int ret; - - ret = l2x0_of_init(0x3c400001, 0xc20fffff); - if (ret) - return ret; - - if (IS_ENABLED(CONFIG_S5P_SLEEP)) { - l2x0_regs_phys = virt_to_phys(&l2x0_saved_regs); - clean_dcache_area(&l2x0_regs_phys, sizeof(unsigned long)); - } - return 0; + return l2x0_of_init(0x3c400001, 0xc20fffff); } early_initcall(exynos4_l2x0_cache_init); |