mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-05 04:31:44 +02:00
Rework this function such that the code is more readable. Zap unused parameter "num_tries" while at it. Also wrap parameter "bit_chk" into this function as it's value is not used outside. Finally, fix the return value from this function to match the common expectation, where 0 means success. Signed-off-by: Marek Vasut <marex@denx.de>