Эх сурвалжийг харах

ARM: shmobile: sh73a0: Remove restart callback

Remove the restart handling hack from the sh73a0 generic multiplatform
case.

Restart on DT-based sh73a0 platforms is now handled through the
R-Mobile reset driver.

This basically reverts commit cad900819fba0176 ("ARM: shmobile: sh73a0:
Add restart callback").

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Geert Uytterhoeven 10 жил өмнө
parent
commit
3c7585b990

+ 0 - 8
arch/arm/mach-shmobile/setup-sh73a0.c

@@ -783,13 +783,6 @@ void __init sh73a0_add_early_devices(void)
 	shmobile_setup_console();
 	shmobile_setup_console();
 }
 }
 
 
-#define RESCNT2 IOMEM(0xe6188020)
-static void sh73a0_restart(enum reboot_mode mode, const char *cmd)
-{
-	/* Do soft power on reset */
-	writel((1 << 31), RESCNT2);
-}
-
 #ifdef CONFIG_USE_OF
 #ifdef CONFIG_USE_OF
 
 
 static void __init sh73a0_generic_init(void)
 static void __init sh73a0_generic_init(void)
@@ -812,7 +805,6 @@ DT_MACHINE_START(SH73A0_DT, "Generic SH73A0 (Flattened Device Tree)")
 	.init_early	= shmobile_init_delay,
 	.init_early	= shmobile_init_delay,
 	.init_machine	= sh73a0_generic_init,
 	.init_machine	= sh73a0_generic_init,
 	.init_late	= shmobile_init_late,
 	.init_late	= shmobile_init_late,
-	.restart	= sh73a0_restart,
 	.dt_compat	= sh73a0_boards_compat_dt,
 	.dt_compat	= sh73a0_boards_compat_dt,
 MACHINE_END
 MACHINE_END
 #endif /* CONFIG_USE_OF */
 #endif /* CONFIG_USE_OF */