[U-Boot] [PATCH] Corrected checksum failure handling of FDT within FIT image

Hello,
I have observed, that if you have a corrupted FDT within a FIT image, then the error handling is not correct and you will fail to 'hang()'. To allow an error handling within scripts, the return value of the calling function 'fit_image_load()' has to be checked for negative values. On error (return value < 0), we have to exit the function. This error seems to also exists in the newest u-boot release.
Please check and fix, if not already done in current versions of u-boot.
With best regards, Heiko Patz
Siemens Healthcare GmbH Diagnostic Imaging Computed Tomography Electronics SHS DI CT R&D SC EL Siemensstr. 1 91301 Forchheim, Germany Tel.: +49 9191 18-6444 Fax: +49 9191 18-6513 Mobile: +49 152 06340249 mailto:heiko.patz@siemens-healthineers.com [cid:image001.gif@01D42981.A98AE880] Siemens Healthcare GmbH: Management: Bernhard Montag, Chairman; Jochen Schmitz, Michael Reitermann; Chairman of the Supervisory Board: Michael Sen; Registered office: Munich, Germany; Commercial Registry: Munich, HRB 213821 WEEE-Reg.-No. DE 64872105
Important notice: This e-mail and any attachment thereof contain corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank you.
participants (1)
-
Patz, Heiko