[coreboot] [PATCH] flashrom: sector-based flashing
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Sat Nov 29 02:20:49 CET 2008
On 29.11.2008 02:15, Carl-Daniel Hailfinger wrote:
> This is a patch which stores eraseblock sizes in struct flashchip. I
> decided to fill in the info for a few chips to illustrate how this works
> both for uniform and non-uniform sector sizes.
>
Oh, and here is the command I used for conversion:
sed -i
"s/\(TEST_[^,]*,[^,]*,[^,]*,[[:blank:]]*\)/{},\t\t\t\t\t\1NULL,\t/"
flashchips.c
Of course the erase block sizes still need to filled in after the
conversion, but it is good enough to verify what I did. The "-i"
parameter to sed means in-place and is only available with newer versions.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
More information about the coreboot
mailing list