summaryrefslogtreecommitdiffstats
path: root/scripts/kwboot.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-06-01 20:07:49 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-06-08 09:10:10 +0200
commit9afdc614d0c8c6de913444d8fbb1a066eb957fc7 (patch)
tree835e455959ae26fb7c34409b31fcffb76972c37e /scripts/kwboot.c
parentfd3ecff9ec5e45bf66d27da979c58bf23cd307da (diff)
downloadbarebox-9afdc614d0c8c6de913444d8fbb1a066eb957fc7.tar.gz
barebox-9afdc614d0c8c6de913444d8fbb1a066eb957fc7.tar.xz
omap/am33xx_bbu: use file_write_flash() instead of its own variant
There are two differences between file_write_flash() and write_image() (which is removed in this patch): - file_write_flash() uses write_full() vs. write() in write_image() - file_write_flash() doesn't erase the whole device but only the needed space So the new code should be more robust and maybe even faster. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/kwboot.c')
0 files changed, 0 insertions, 0 deletions