aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2013-02-15 07:38:20 -0500
committerSimon Horman <horms+renesas@verge.net.au>2013-03-18 08:27:02 -0400
commit5377762e2e004314bf9b83abf7f631b310d1fc40 (patch)
tree65cbbebc57f596d8f9bbdb75d7d52485c01c0947 /arch/arm/mach-shmobile
parente30755f41d64ba95a23f4107cfbce83834778ae6 (diff)
ARM: shmobile: kzm9g: Trim reference DT_MACHINE_START
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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/board-kzm9g-reference.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c b/arch/arm/mach-shmobile/board-kzm9g-reference.c
index 4da3501c7f52..e93473c84c56 100644
--- a/arch/arm/mach-shmobile/board-kzm9g-reference.c
+++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c
@@ -91,13 +91,6 @@ static void __init kzm_init(void)
91#endif 91#endif
92} 92}
93 93
94static void kzm9g_restart(char mode, const char *cmd)
95{
96#define RESCNT2 IOMEM(0xe6188020)
97 /* Do soft power on reset */
98 writel((1 << 31), RESCNT2);
99}
100
101static const char *kzm9g_boards_compat_dt[] __initdata = { 94static const char *kzm9g_boards_compat_dt[] __initdata = {
102 "renesas,kzm9g-reference", 95 "renesas,kzm9g-reference",
103 NULL, 96 NULL,
@@ -110,8 +103,6 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-reference")
110 .nr_irqs = NR_IRQS_LEGACY, 103 .nr_irqs = NR_IRQS_LEGACY,
111 .init_irq = irqchip_init, 104 .init_irq = irqchip_init,
112 .init_machine = kzm_init, 105 .init_machine = kzm_init,
113 .init_late = shmobile_init_late,
114 .init_time = shmobile_timer_init, 106 .init_time = shmobile_timer_init,
115 .restart = kzm9g_restart,
116 .dt_compat = kzm9g_boards_compat_dt, 107 .dt_compat = kzm9g_boards_compat_dt,
117MACHINE_END 108MACHINE_END