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

Murray.Jensen at csiro.au Murray.Jensen at csiro.au
Thu Jun 30 15:14:40 CEST 2005


On Thu, 30 Jun 2005 12:21:33 +0200, Wolfgang Denk writes:
>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.

I wrote the code - even though it was a long time ago, my memory is that
they do in fact have to be within one bank. I left out a bit of the syntax,
it is actually "<bank>:<first>[-<last>]". The patch changes this to
"<bank>:<first>[-[<last>]]".

>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)".

This can co-exist with the bank/sector notation.

>> 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.

This isn't a "copyright note" (notice?). It is a standard disclaimer. I cannot
send public email from this account without it. See previous email. Cheers!
								Murray...
--
Murray Jensen, CSIRO Manufacturing & Infra. Tech.      Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia.         Fax: +61 3 9662 7853
Internet: Murray.Jensen at csiro.au

To the extent permitted by law, CSIRO does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained or
that the communication is free of errors, virus, interception or interference.

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
+61 3 9662 7763. Thank you.




More information about the U-Boot mailing list