SmartAudio/lichee/brandy/u-boot-2011.09/common/cmd_shutdown.c

18 lines
340 B
C
Raw Normal View History

2018-07-13 01:31:50 +00:00
/*
* Command for accessing DataFlash.
*
* Copyright (C) 2008 Atmel Corporation
*/
#include <common.h>
#include <axp_power.h>
int do_shutdown(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
return sunxi_board_shutdown();
}
U_BOOT_CMD(
shutdown, 2, 1, do_shutdown,
"shutdown the system",
"power off the power supply"
);