mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-03 03:31:37 +02:00
We have a 'safe' version of this function but sometimes it is not needed. Add a normal version too and update a few places that can use it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>