mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-12 14:47:22 +03:00
Update management of misc_read/misc_write, which now returns length of data after the commit8729b1ae2c("misc: Update read() and write() methods to return bytes xfered"): raise a error when the result is not the expected length. Fixes:658fde8a36("board: stm32mp1: stboard: lock the OTP after programming") Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>