Re: [PATCH v2 17/32] bootm: Move error printing out of boot_get_kernel()

2023-11-16 Thread Tom Rini
On Wed, Nov 15, 2023 at 09:10:17PM -0700, Simon Glass wrote: > The same error message is printed in two places. Move it out to the > caller so we can avoid passing in the command name. Leave the bootstage > handling where it is. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom s

[PATCH v2 17/32] bootm: Move error printing out of boot_get_kernel()

2023-11-15 Thread Simon Glass
The same error message is printed in two places. Move it out to the caller so we can avoid passing in the command name. Leave the bootstage handling where it is. Signed-off-by: Simon Glass --- Changes in v2: - Use the command table to provide the command name, instead of "bootm" boot/bootm.c |