Re: [U-Boot] [patch] replace mkimage.c write() calls with full_write()

2014-03-20 Thread Wolfgang Denk
Dear Andrew, In message <20140320034408.ga20...@canndrew.org> you wrote: > > This patch adds a function to mkimage.c called full_write() which calls > write() > in a loop until all the data has been written or write errors. > > I was getting an error with mkimage running out of space on the dev

[U-Boot] [patch] replace mkimage.c write() calls with full_write()

2014-03-20 Thread Andrew Cann
This patch adds a function to mkimage.c called full_write() which calls write() in a loop until all the data has been written or write errors. I was getting an error with mkimage running out of space on the device it was writing to, but instead of printing a useful error message it was printing: