Commit 37784ede authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller

board/gta04: use the official poweroff command

Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
parent 9efbc29a
......@@ -673,12 +673,6 @@ int do_poweroff(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
return (0);
}
// nobody uses this config yet...
#ifndef CONFIG_CMD_POWEROFF
U_BOOT_CMD(poweroff, 2, 0, do_poweroff, "Poweroff",
"");
#endif
static int do_suspend(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
{
backlight_set_level(0);
......
......@@ -97,4 +97,6 @@
#define CONFIG_SYS_MEMTEST_START 0x90000000
#define CONFIG_SYS_MEMTEST_END 0xb8000000
#define CONFIG_CMD_POWEROFF 1
/* __CONFIG_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment