[PATCH 1/5] bootdev: Fix the case where the driver ops field is null.

Marek Vasut marek.vasut at mailbox.org
Tue May 19 22:13:37 CEST 2026


On 5/19/26 5:18 PM, Tom Rini wrote:
> In the case where a bootdev does not have a custom get_bootflow function
> but instead relies on default_get_bootflow to provide one,
> bootdev_get_bootflow was not handling the case where ops was simply not
> set. Restructure the function to check for "ops && ops->get_bootflow"
> and add appropriate log_debug calls for both cases.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas at mailbox.org>

Thanks !


More information about the U-Boot mailing list