mirror of
https://xff.cz/git/u-boot/
synced 2025-12-26 19:44:34 +01: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>