On Thu, Jul 11, 2013 at 1:12 PM, Stefan Tauner <stefan.tauner@student.tuwien.ac.at> wrote:
On Thu, 11 Jul 2013 12:31:55 -0700
David Hendricks <dhendrix@google.com> wrote:

> >  - Default image names. For example one might want to always use me.bin
> >    for the ME region without the need to specify it all the time on the
> >    cli. (add the name after the region name, separated by : just like
> >    in the cli)
> >
>
> +1. It's pretty silly to need to specify a ROM-sized file for "-w" just to
> update a single region.

That needs to be dealt otherwise.

Darn, I was hoping to rope you into doing work for me ;-)

What i meant is that you specify in
the layout file the image you would normally specify by -i
regionname:filename.

if there is no file name in the cli, look in the layout file.

So far so good.
 
if there
is none there either, use the one of the complete image (for the -w
case, -r would be slightly different).

So the behavior is the same as it is now? That is, the -w argument is the complete ROM-sized file and flashrom will use the layout info to seek to the correct offset in the file?