From: Sam Song Date: Sun, 10 Oct 2004 13:08:46 +0800 (CST) Subject: [U-Boot-Users] [patch][cvs] A fix in main.c In-Reply-To: Message-ID: <20041010050846.65249.qmail@web15601.mail.cnb.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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/