summaryrefslogtreecommitdiffstats
path: root/common/bbu.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-08-23 19:52:39 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-31 08:30:08 +0200
commitea3da394e0effa45569e99d0ba3496a496a0948b (patch)
treeb01f2c97b64b0505e6b417fcfb58cf0cacd1bb20 /common/bbu.c
parent38829761d78eafb25309b5b3ba5ce85d91bf5ba3 (diff)
downloadbarebox-ea3da394e0effa45569e99d0ba3496a496a0948b.tar.gz
barebox-ea3da394e0effa45569e99d0ba3496a496a0948b.tar.xz
ARM: i.MX: bbu: Use pwrite_full() instead of pwrite()
Use pwrite_full() instead of pwrite() to make sure that all of the data was written to target device. While at it adjust return value of imx_bbu_write_device() to be zero in case of success. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bbu.c')
0 files changed, 0 insertions, 0 deletions