mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-08 04:36:40 +03:00
We should not directly cast between pointers and addresses since it breaks sandbox. Fix this and simplify the code in file_read(). Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>