diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-03 11:56:53 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-05 12:57:10 +0000 |
commit | 9eb4859564d6e104f78abde15e7f0ca996b71236 (patch) | |
tree | 8f0c5cb6e7e6968b87cc9fc96c850740ed49e9b0 /arch/arm/mach-exynos/common.c | |
parent | 3275166e0355131aa2349bf614a32591cfe1e118 (diff) |
ARM: 7262/1: restart: EXYNOS: use new restart hook
Hook these platforms restart code into the new restart hook rather
than using arch_reset().
[kgene.kim@samsung.com: according to local header, updated]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-exynos/common.c')
-rw-r--r-- | arch/arm/mach-exynos/common.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index eecac125307..6f567a4d851 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -32,7 +32,6 @@ #include <plat/clock.h> #include <plat/devs.h> #include <plat/pm.h> -#include <plat/reset.h> #include <plat/sdhci.h> #include <plat/gpio-cfg.h> #include <plat/adc-core.h> @@ -214,7 +213,7 @@ static void exynos_idle(void) local_irq_enable(); } -static void exynos4_sw_reset(void) +void exynos4_restart(char mode, const char *cmd) { __raw_writel(0x1, S5P_SWRESET); } @@ -476,10 +475,6 @@ int __init exynos_init(void) /* set idle function */ pm_idle = exynos_idle; - /* set sw_reset function */ - if (soc_is_exynos4210() || soc_is_exynos4212() || soc_is_exynos4412()) - s5p_reset_hook = exynos4_sw_reset; - return sysdev_register(&exynos4_sysdev); } |