[coreboot] #104: flashrom: Partial operations; change flash drivers to not erase in the write function

coreboot svn at coreboot.org
Sat Jan 16 01:13:30 CET 2010


#104: flashrom: Partial operations; change flash drivers to not erase in the
write function
-----------------------------------+----------------------------------------
   Reporter:  stuge                |          Owner:  hailfinger   
       Type:  enhancement          |         Status:  new          
   Priority:  major                |      Milestone:  flashrom v1.0
  Component:  flashrom             |        Version:               
   Keywords:  partial erase write  |   Dependencies:               
Patchstatus:  there is no patch    |  
-----------------------------------+----------------------------------------

Comment(by stuge):

 I could ack the patch since it just adds a function, but the function
 doesn't fix this ticket.

 This ticket is about changing write functions in drivers to never erase.
 (Ie. move erasing out of the driver write functions.)

 Once that's done (if already, then this could be closed as fixed) the next
 step is how to decide when to erase. It used to be always. Patch 582
 suggest a heuristic, but I don't think this is wise, since code can not
 know what has happened to the flash chip before. I suggest that this
 decision must be made by the user.

-- 
Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/104#comment:12>
coreboot <http://www.coreboot.org/>



More information about the coreboot mailing list