[U-Boot-Users] [patch][cvs] A fix in main.c

Sam Song samsongshu at yahoo.com.cn
Sun Oct 10 07:08:46 CEST 2004


Hello Thomas,

I misused CONFIG_MENUKEY in my test program and found
an error but not quite sure. Pls check it.

BTW, CONFIG_MENUKEY and CONFIG_MENUCOMMAND is only
used in the AmigaOneG3SE board, which you maintaine. I
didn't see their info in README. Could you pls explain
the usage or even better send a patch in README?

Thanks a lot.

* Patch by Sam Song, 10 October 2004:
  - Fix a parameter of run_command in main.c

Index: common/main.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/main.c,v
retrieving revision 1.20
diff -p -u -r1.20 main.c
--- common/main.c	23 Apr 2004 20:32:06 -0000	1.20
+++ common/main.c	10 Oct 2004 00:51:18 -0000
@@ -432,7 +432,7 @@ void main_loop (void)
 	    s = getenv("menucmd");
 	    if (s) {
 # ifndef CFG_HUSH_PARSER
-		run_command (s, bd, 0);
+		run_command (s, 0);
 # else
 		parse_string_outer(s, FLAG_PARSE_SEMICOLON |
 				    FLAG_EXIT_FROM_LOOP);

=====
Best regards,

Sam

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/




More information about the U-Boot mailing list