Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/bdf8e34b936e2b94990ab6ce8dd5463d14d173dd
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
28 additions and
8 deletions
common/command.c
common/hush.c
common/main.c
include/command.h
@ -487,3 +487,24 @@ void fixup_cmdtable(cmd_tbl_t *cmdtp, int size)
}
}
# endif
/**
* Call a command function . This should be the only route in U - Boot to call
* a command , so that we can track whether we are waiting for input or
* executing a command .
*
* @ param cmdtp Pointer to the command to execute
* @ param flag Some flags normally 0 ( see CMD_FLAG_ . . above )
* @ param argc Number of arguments ( arg 0 must be the command text )
* @ param argv Arguments
* @ return 0 if command succeeded , else non - zero ( CMD_RET_ . . . )
*/
int cmd_call ( cmd_tbl_t * cmdtp , int flag , int argc , char * const argv [ ] )
{
int result ;
result = ( cmdtp - > cmd ) ( cmdtp , flag , argc , argv ) ;
if ( result )
debug ( " Command failed, result=%d " , result ) ;
return result ;
}
@ -1679,13 +1679,10 @@ static int run_pipe_real(struct pipe *pi)
rcode = x - > function ( child ) ;
# else
/* OK - call function to do the command */
rcode = ( cmdtp - > cmd )
( cmdtp , flag , child - > argc - i , & child - > argv [ i ] ) ;
if ( ! cmdtp - > repeatable )
rcode = cmd_call ( cmdtp , flag , child - > argc - i ,
& child - > argv [ i ] ) ;
if ( ! cmdtp - > repeatable )
flag_repeat = 0 ;
# endif
child - > argv - = i ; /* XXX restore hack so free() can work right */
# ifndef __U_BOOT__
@ -1370,9 +1370,8 @@ static int builtin_run_command(const char *cmd, int flag)
# endif
/* OK - call function to do the command */
if ( ( cmdtp - > cmd ) ( cmdtp , flag , argc , argv ) ! = 0 ) {
if ( cmd_call ( cmdtp , flag , argc , argv ) ! = 0 )
rc = - 1 ;
}
repeatable & = cmdtp - > repeatable ;
@ -112,6 +112,8 @@ static inline int bootm_maybe_autostart(cmd_tbl_t *cmdtp, const char *cmd)
# endif
extern int do_reset ( cmd_tbl_t * cmdtp , int flag , int argc , char * const argv [ ] ) ;
int cmd_call ( cmd_tbl_t * cmdtp , int flag , int argc , char * const argv [ ] ) ;
# endif /* __ASSEMBLY__ */
/*
@ -150,4 +152,5 @@ extern int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
# if defined(CONFIG_NEEDS_MANUAL_RELOC)
void fixup_cmdtable ( cmd_tbl_t * cmdtp , int size ) ;
# endif
# endif /* __COMMAND_H */