From a641b9794bc240b272008edf0309eb9dc9187bbc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 26 Dec 2010 23:32:22 -0500 Subject: make `go` optional Signed-off-by: Mike Frysinger --- common/cmd_boot.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common') diff --git a/common/cmd_boot.c b/common/cmd_boot.c index 7b603d3502..0afd93964d 100644 --- a/common/cmd_boot.c +++ b/common/cmd_boot.c @@ -28,6 +28,8 @@ #include #include +#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", -- cgit v1.2.3