提交 34adeda9 编写于 作者: R Russell King

ARM: restart: add default restart modes for PXA mioa701, spitz and tosa

Add a default restart mode to reflect the hard-coded restart mode
found in these files.
Acked-by: NNicolas Pitre <nico@linaro.org>
Acked-by: NWill Deacon <will.deacon@arm.com>
Acked-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: NRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 b44c350d
...@@ -752,6 +752,7 @@ static void mioa701_machine_exit(void) ...@@ -752,6 +752,7 @@ static void mioa701_machine_exit(void)
MACHINE_START(MIOA701, "MIO A701") MACHINE_START(MIOA701, "MIO A701")
.atag_offset = 0x100, .atag_offset = 0x100,
.restart_mode = 's',
.map_io = &pxa27x_map_io, .map_io = &pxa27x_map_io,
.init_irq = &pxa27x_init_irq, .init_irq = &pxa27x_init_irq,
.handle_irq = &pxa27x_handle_irq, .handle_irq = &pxa27x_handle_irq,
......
...@@ -982,6 +982,7 @@ static void __init spitz_fixup(struct tag *tags, char **cmdline, ...@@ -982,6 +982,7 @@ static void __init spitz_fixup(struct tag *tags, char **cmdline,
#ifdef CONFIG_MACH_SPITZ #ifdef CONFIG_MACH_SPITZ
MACHINE_START(SPITZ, "SHARP Spitz") MACHINE_START(SPITZ, "SHARP Spitz")
.restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
...@@ -993,6 +994,7 @@ MACHINE_END ...@@ -993,6 +994,7 @@ MACHINE_END
#ifdef CONFIG_MACH_BORZOI #ifdef CONFIG_MACH_BORZOI
MACHINE_START(BORZOI, "SHARP Borzoi") MACHINE_START(BORZOI, "SHARP Borzoi")
.restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
...@@ -1004,6 +1006,7 @@ MACHINE_END ...@@ -1004,6 +1006,7 @@ MACHINE_END
#ifdef CONFIG_MACH_AKITA #ifdef CONFIG_MACH_AKITA
MACHINE_START(AKITA, "SHARP Akita") MACHINE_START(AKITA, "SHARP Akita")
.restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.init_irq = pxa27x_init_irq, .init_irq = pxa27x_init_irq,
......
...@@ -970,6 +970,7 @@ static void __init fixup_tosa(struct tag *tags, char **cmdline, ...@@ -970,6 +970,7 @@ static void __init fixup_tosa(struct tag *tags, char **cmdline,
} }
MACHINE_START(TOSA, "SHARP Tosa") MACHINE_START(TOSA, "SHARP Tosa")
.restart_mode = 'g',
.fixup = fixup_tosa, .fixup = fixup_tosa,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = TOSA_NR_IRQS, .nr_irqs = TOSA_NR_IRQS,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册