[PATCH v2] boot: android: fix booting without a ramdisk

Michael Walle mwalle at kernel.org
Wed Jul 31 17:33:25 CEST 2024


Hi,

> > > -                     if (ret)
> > > +                     if (ret == -ENOENT)
> > > +                             return -ENOPKG;
>
> We normally use -ENOENT for this sort of thing.

That's the way select_ramdisk() is documented. It was actually
introduced by yourself in commit e4c928792e93 ("image: Split up
boot_get_ramdisk()") :)

-michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 297 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240731/11ffd964/attachment.sig>


More information about the U-Boot mailing list