make go optional

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2010-12-26 23:32:22 -05:00
parent 0c79cda01b
commit a641b9794b
3 changed files with 6 additions and 0 deletions

View file

@ -28,6 +28,8 @@
#include <command.h>
#include <net.h>
#ifdef CONFIG_CMD_GO
/* Allow ports to override the default behavior */
__attribute__((weak))
unsigned long do_go_exec (ulong (*entry)(int, char * const []), int argc, char * const argv[])
@ -67,6 +69,8 @@ U_BOOT_CMD(
" passing 'arg' as arguments"
);
#endif
U_BOOT_CMD(
reset, 1, 0, do_reset,
"Perform RESET of the CPU",