[U-Boot-Users] [PATCH] allow flash "ranges" to default to end of flash

Wolfgang Denk wd at denx.de
Thu Jun 30 12:21:33 CEST 2005


In message <29153.1120110630 at gerd> you wrote:
> 
> This patch modifies the flash "range" code slightly to allow a range to
> "default" to the "end of the bank". Currently, you must specify
> "<first>-<last>" where <first> and <last> are sector numbers (zero based)
> within the "bank". This code allows you to say "<first>-" and <last> will

No, numbers don't have to be within one bank.

> default to the sector number of the last sector in the "bank". I thought
> I needed this - but now I don't use it anymore. However, the code might
> still be useful to someone. Cheers!

I will not include this patch as we have another,  IMHO  more  useful
extension  in  the  queue:  "first +size", so you can for example use
"era $(start) +$(filesize)".

> The information contained in this e-mail may be confidential or privileged.
> Any unauthorised use or disclosure is prohibited. If you have received this
> e-mail in error, please delete it immediately and notify Murray Jensen on

And I cannot use any stuff with such a "copyright" note anyway.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I can't say I've ever been lost, but I was bewildered once for  three
days.                                     - Daniel Boone (Attributed)




More information about the U-Boot mailing list