Re: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-22 Thread Wolfgang Denk
Dear "Teh Kok How", please do not top-post / full quote. In message <8f43dbaafe554067877fd8568cab4...@smartbridges.com> you wrote: > > Sorry, been away for 1 week. The constant 10 is the size of an array > that is arbitrarily chosen so that it is big enough to hold the current mtd > device

Re: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-21 Thread Teh Kok How
[mailto:w...@denx.de] Sent: Friday, February 12, 2010 11:28 PM To: Teh Kok How Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix Dear "Teh Kok How", In message <89d4e2cb6b654b3fb0da6a0ce6650...@smartbridges.com> you wrote: > > --- u-boot

Re: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-12 Thread Wolfgang Denk
Dear "Teh Kok How", In message <89d4e2cb6b654b3fb0da6a0ce6650...@smartbridges.com> you wrote: > > --- u-boot-2009.11.1.orig/common/cmd_flash.c2010-01-25 > 16:35:12.0 +0800 > +++ u-boot-2009.11.1.new/common/cmd_flash.c 2010-02-12 > 16:18:10.565540182 +0800 > @@ -43,6 +43,7 @@ > >

Re: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-12 Thread Stefan Roese
On Friday 12 February 2010 10:16:36 Teh Kok How wrote: > - What exactly are you trying to fix? Please add a small description > on what's broken and how your patch fixes it. > => Fixes wrong argument to mtd_id_parse that affects u-boot command `erase` > and `protect` . This fix passes the correct

[U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-12 Thread Teh Kok How
- What exactly are you trying to fix? Please add a small description on what's broken and how your patch fixes it. => Fixes wrong argument to mtd_id_parse that affects u-boot command `erase` and `protect` . This fix passes the correct part-id to the commands so that `erase rootfs` and `protect ro

Re: [U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-12 Thread Stefan Roese
On Friday 12 February 2010 09:31:17 Teh Kok How wrote: > --- u-boot-2009.11.1.orig/common/cmd_flash.c2010-01-25 > 16:35:12.0 +0800 > > +++ u-boot-2009.11.1.new/common/cmd_flash.c 2010-02-12 > 16:18:10.565540182 +0800 > > @@ -43,6 +43,7 @@ > > > > #ifndef CONFIG_SYS_NO_FLASH >

[U-Boot] [PATCH]: common/cmd_flash.c: bug-fix

2010-02-12 Thread Teh Kok How
--- u-boot-2009.11.1.orig/common/cmd_flash.c2010-01-25 16:35:12.0 +0800 +++ u-boot-2009.11.1.new/common/cmd_flash.c 2010-02-12 16:18:10.565540182 +0800 @@ -43,6 +43,7 @@ #ifndef CONFIG_SYS_NO_FLASH extern flash_info_t flash_info[]; /* info for FLASH chips */ +extern s