mirror of
https://xff.cz/git/u-boot/
synced 2025-10-17 16:02:33 +02: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>