mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Switch all flash chips to partial write
The inner write functions which handle partial write are renamed to the original name of their wrappers. The write wrappers are removed. Corresponding to flashrom svn r1211. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested-by: Maciej Pijanka <maciej.pijanka@gmail.com> Tested-by: Andrew Morgan <ziltro@ziltro.com> Tested-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Idwer Vollering <vidwer@gmail.com> Tested-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
This commit is contained in:
@ -1639,7 +1639,7 @@ int doit(struct flashchip *flash, int force, char *filename, int read_it, int wr
|
||||
return 1;
|
||||
}
|
||||
msg_cinfo("Writing flash chip... ");
|
||||
ret = flash->write(flash, buf);
|
||||
ret = flash->write(flash, buf, 0, flash->total_size * 1024);
|
||||
if (ret) {
|
||||
msg_cerr("FAILED!\n");
|
||||
emergency_help_message();
|
||||
|
Reference in New Issue
Block a user