Message ID | 20090311081426.2031.70713.sendpatchset@rx1.opensource.se (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Wed, Mar 11, 2009 at 05:14:26PM +0900, Magnus Damm wrote: > Improve the sh7785lcr power off implementation to > never return. It takes some time before the board > is actually powered off, just hang after asking > the harware to power down. > > This removes the serial port garbage printout. > > Signed-off-by: Magnus Damm <damm@igel.co.jp> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- 0001/arch/sh/boards/board-sh7785lcr.c +++ work/arch/sh/boards/board-sh7785lcr.c 2009-03-11 15:15:52.000000000 +0900 @@ -284,6 +284,9 @@ static void sh7785lcr_power_off(void) } *p = 0x01; iounmap(p); + set_bl_bit(); + while (1) + cpu_relax(); } /* Initialize the board */