提交 ed3fa7c9 编写于 作者: P Peter Ma 提交者: Haavard Skinnemoen

avr32: Add hardware power-down function call

This patch adds in the indirect call to pm_power_off(), as is done in
other architectures (e.g. ARM).

Tested on NGW100, with custom board with GPIO control over main DC
power.
Signed-off-by: NPeter Ma <pma@mediamatech.com>
Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
上级 29a0c393
......@@ -54,6 +54,8 @@ void machine_halt(void)
void machine_power_off(void)
{
if (pm_power_off)
pm_power_off();
}
void machine_restart(char *cmd)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册