[PATCH] spl: fix error handling of spl_fit_read

2024-08-16 Thread mailinglist1
From: Johannes Kirchmair Returning negative values from spl_fit_read leads to u-boot crashing. The return value of spl_fit_read is compared with an unsigned value. Returning negative values leads to the check not detecting the error. Not detecting the error leads to crashing. Returning zero in c

[PATCH] usb: add reset pin handling to onboard-hub driver

2024-08-16 Thread mailinglist1
From: Johannes Kirchmair Some onboard-hub chips have external reset pins. This patch adds handling of said pin to the onboard-hub driver. The naming for the devicetree binding is done in the same way as in the Linux kernel to ensure good compatibility between u-boot's and Linux's devicetrees. Si

AW: [PATCH] spl: fix error handling of spl_fit_read

2024-08-19 Thread mailinglist1
Hey, > -Ursprüngliche Nachricht- > Von: Simon Glass > Gesendet: Samstag, 17. August 2024 17:58 > An: mailingli...@johanneskirchmair.de; Sean Anderson > > Cc: u-boot@lists.denx.de; tr...@konsulko.com; Johannes Kirchmair > > Betreff: Re: [PATCH] spl: fix error handling of spl_fit_read >