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.moff...@boeing.com> Cc: Nobuhiro Iwamatsu <iwama...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot