[U-Boot] [PATCH 18/21] sh: Generic system restart support
Kyle Moffett
Kyle.D.Moffett at boeing.com
Mon Mar 7 18:37:39 CET 2011
The SuperH port uses the exact same restart code on all supported CPUs,
so that do_reset() function is simply altered to use the new prototype
for __arch_restart().
It will probably work even when the CPU is in a bad state, so no
separate __arch_emergency_restart() function is required.
Signed-off-by: Kyle Moffett <Kyle.D.Moffett at boeing.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
arch/sh/lib/board.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c
index 07361b4..9206311 100644
--- a/arch/sh/lib/board.c
+++ b/arch/sh/lib/board.c
@@ -204,7 +204,7 @@ void sh_generic_init(void)
/***********************************************************************/
-int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int __arch_restart(void)
{
disable_interrupts();
--
1.7.2.3
More information about the U-Boot
mailing list