On Thu, 11 Jul 2013 23:40:02 -0700 Stefan Reinauer stefan.reinauer@coreboot.org wrote:
On 7/11/13 9:42 AM, Stefan Tauner wrote:
This is slightly related to the write strategy discussion, so I'll hijack its thread. While rebasing my layout patch set I rewrote the layout file parser. It is now more flexible and it would be easy to support more features. One feature it does already support are comments starting with a # (anywhere in a line).
ATM it parses all previously valid layout files (AFAIK) and it should continue to do so, even if they are not too common yet. We do not know the exact numbers of usage, so breaking an unknown number of systems does not seem like a good idea. We could and should provide a script that converts 1.0 files to 2.0 syntax though. That should be trivial anyway.
Current layout files have not ever been used afaik, except by a customer of mine who went out of business several years ago. Feel free to just deprecate the old format, instead of engineering a tedious migration path.
Hm interesting. I am not so sure about that, but it is certainly not a much used feature (yet). Which is probably related to the fact, that it is not very usable as it was. :) OTOH there was a huge interest in that features in the last months from Intel users due to the ME limitations (which was also my main motivation to work on it). In any case I don't think that the migration would be very tedious. Carldani brought up the compatibility issue back when david wanted to change the address base: http://www.flashrom.org/pipermail/flashrom/2010-November/005465.html