diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-26 23:32:22 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-13 15:56:39 -0400 |
commit | a641b9794bc240b272008edf0309eb9dc9187bbc (patch) | |
tree | 887d56c7c127ea04438d4cc1ebf7816ff428ee13 /common/cmd_boot.c | |
parent | 0c79cda01b75e2f263ec4a5dd81f693b37392ea9 (diff) |
make `go` optional
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_boot.c')
-rw-r--r-- | common/cmd_boot.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_boot.c b/common/cmd_boot.c index 7b603d3502f..0afd93964d7 100644 --- a/common/cmd_boot.c +++ b/common/cmd_boot.c @@ -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", |