X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_boot.c;h=0afd93964d7af31dba01ada22b00a429326be1f8;hb=210576fc5e5d323c8039f95c7b5b2c7512a550e4;hp=72dacaaf7a786005cc78796061edd1cedb212ece;hpb=ac956293befb265b8958654d08c4ad52e605d46e;p=u-boot diff --git a/common/cmd_boot.c b/common/cmd_boot.c index 72dacaaf7a..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,7 +69,7 @@ U_BOOT_CMD( " passing 'arg' as arguments" ); -extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); +#endif U_BOOT_CMD( reset, 1, 0, do_reset,