[flashrom] [PATCH 1/2] Error out when chipset/board doesn't decode full ROM

Uwe Hermann uwe at hermann-uwe.de
Sat Oct 31 01:01:48 CET 2009


On Fri, Oct 30, 2009 at 01:52:28AM +0100, Carl-Daniel Hailfinger wrote:
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

The slightly updated version attached to this mail is

Acked-by: Uwe Hermann <uwe at hermann-uwe.de>


I tested this on an FWH board, one parallel board, and one nic3com with
parallel flash.

Changes in the updated patch:

 - Running "flashrom" without options also shows the error if the chip
   is too big (not just -r, -E, or -w).

 - Print ROM sizes in KB (not bytes) to be more user-friendly and better
   readable.

 - Make the error that gets printed without -V fit into one line:
   "Chip is too big for this programmer (-V gives details). Use --force to override."
   Also, add missing \n to that string.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.randomprojects.org
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom_max_decode_updated.patch
Type: text/x-diff
Size: 6477 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20091031/14bf06c8/attachment.bin>


More information about the flashrom mailing list