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/


--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to