aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/common.c')
-rw-r--r--arch/arm/mach-exynos/common.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index eecac125307a..6f567a4d8519 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -32,7 +32,6 @@
32#include <plat/clock.h> 32#include <plat/clock.h>
33#include <plat/devs.h> 33#include <plat/devs.h>
34#include <plat/pm.h> 34#include <plat/pm.h>
35#include <plat/reset.h>
36#include <plat/sdhci.h> 35#include <plat/sdhci.h>
37#include <plat/gpio-cfg.h> 36#include <plat/gpio-cfg.h>
38#include <plat/adc-core.h> 37#include <plat/adc-core.h>
@@ -214,7 +213,7 @@ static void exynos_idle(void)
214 local_irq_enable(); 213 local_irq_enable();
215} 214}
216 215
217static void exynos4_sw_reset(void) 216void exynos4_restart(char mode, const char *cmd)
218{ 217{
219 __raw_writel(0x1, S5P_SWRESET); 218 __raw_writel(0x1, S5P_SWRESET);
220} 219}
@@ -476,10 +475,6 @@ int __init exynos_init(void)
476 /* set idle function */ 475 /* set idle function */
477 pm_idle = exynos_idle; 476 pm_idle = exynos_idle;
478 477
479 /* set sw_reset function */
480 if (soc_is_exynos4210() || soc_is_exynos4212() || soc_is_exynos4412())
481 s5p_reset_hook = exynos4_sw_reset;
482
483 return sysdev_register(&exynos4_sysdev); 478 return sysdev_register(&exynos4_sysdev);
484} 479}
485 480