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

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

In message 29153.1120110630@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

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

In message 7905.1120137280@huldra you wrote:
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!
It is the ONLY information in your whole message about the legal state of the content. I must assume it does apply to your patch. It it may be confidential information I cannot and will not use it. It does not matter if you have any actual right to release GPLed stuff under such a restrictive "license".
Best regards,
Wolfgang Denk

On Thu, 30 Jun 2005 15:40:17 +0200, Wolfgang Denk writes:
It is the ONLY information in your whole message about the legal state of the content. I must assume it does apply to your patch.
My thinking was that it *cannot* apply, since the code is modifications to other code which was licenced under the GPL, hence the modifcations must also be licenced under the GPL.
Anyway, I hate these standard disclaimers as much as you do (maybe more). I will make it clear in future, so there is no doubt about the patches.
it may be confidential information I cannot and will not use it. It does not matter if you have any actual right to release GPLed stuff under such a restrictive "license".
That was my point - CSIRO has no claim, therefore the disclaimer *cannot* apply. Oh well - this wonderful brave new world of litigation we live in means we all have to be lawyers, whether we like it or not. 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@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.
participants (2)
-
Murray.Jensen@csiro.au
-
Wolfgang Denk