[PATCH v2 04/14] ARM: k3: r5: add proper error handling

Marco Felsch m.felsch at pengutronix.de
Tue Mar 11 06:21:31 PDT 2025


On 25-03-11, Sascha Hauer wrote:
> Add missing error handling in the image loading code. Properly check for
> errors and panic when mandatory binaries are missing instead of blindly
> continuing.
> 
> While at it change the return value variable from 'err' to 'ret' to stay
> consistent with the rest of the code in r5.c.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Reviewed-by: Marco Felsch <m.felsch at pengutronix.de>



More information about the barebox mailing list