Hi all,
- i am gone through u-boot source code (u-boot- 2013.01.01) in this,the last file in u-boot source executes is u-boot-2013.01.01/common/main.c file, in this file it checks the Press any key from console, if press any key it executes some statements,if don't press any key it executes some attachments.
- I am checked the if don't press any key it executes the run_command_list() function,
run_command_list(const char *cmd,int len, int flag)
{
int need_buff=1;
char *buff=(char *) cmd;
int rcode=0;
if(len==-1)
{ len=strlen(cmd);
len_buff=0;
#ifdef CONFIG_SYS_HUSH_PARSER
rcode =parse_string_outer(buff,FLAG_PARSE_SEMICOLON);
}
It's going to execute this function in main.c file.
- i search the u-boot source code i am not find the above function.
- Please suggest any one, where this function present in entire source code.