On Mon, Oct 10, 2022 at 06:01:21PM +0100, Andre Przywara wrote: > When we try to load a kernel via the QEMU firmware device, we currently > "return -1;" if no kernel was specified on the QEMU command line. This > leads to the usage output, which is confusing (since nothing on the > command line was really wrong), but also somewhat hides the actual error > message. > > Return CMD_RET_FAILURE (1), as it's a proper error, and make the message > more clear that this is not only a "warning". > > This helps to call this command in boot scripts, and to gracefully > continue if this doesn't work. > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature