ARM: shmobile: kzm9g: Trim reference DT_MACHINE_START
authorSimon Horman <horms+renesas@verge.net.au>
Fri, 15 Feb 2013 12:38:20 +0000 (21:38 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Mar 2013 12:27:02 +0000 (21:27 +0900)
Remove .init_late and .restart from DT_MACHINE_START
for kzm9g reference as these are not necessary to
bring the board up which is the main aim of kzm9g reference.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-kzm9g-reference.c

index 4da3501c7f52a7d5115fe1e1c1887b634e42db88..e93473c84c56438aef18d559f4789c194a69e2ef 100644 (file)
@@ -91,13 +91,6 @@ static void __init kzm_init(void)
 #endif
 }
 
-static void kzm9g_restart(char mode, const char *cmd)
-{
-#define RESCNT2 IOMEM(0xe6188020)
-       /* Do soft power on reset */
-       writel((1 << 31), RESCNT2);
-}
-
 static const char *kzm9g_boards_compat_dt[] __initdata = {
        "renesas,kzm9g-reference",
        NULL,
@@ -110,8 +103,6 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-reference")
        .nr_irqs        = NR_IRQS_LEGACY,
        .init_irq       = irqchip_init,
        .init_machine   = kzm_init,
-       .init_late      = shmobile_init_late,
        .init_time      = shmobile_timer_init,
-       .restart        = kzm9g_restart,
        .dt_compat      = kzm9g_boards_compat_dt,
 MACHINE_END