[PATCH v3 6/6] boot: Call flush() before booting

Simon Glass sjg at chromium.org
Wed Sep 7 23:10:54 CEST 2022


On Mon, 5 Sept 2022 at 03:31, Pali Rohár <pali at kernel.org> wrote:
>
> In a lot of cases kernel resets UART HW. To ensure that U-Boot messages
> printed before booting the kernel are not lost, call new U-Boot console
> flush() function.
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
> ---
> Changes in v3:
> * Fix commit message
> ---
>  boot/bootm_os.c | 1 +
>  cmd/boot.c      | 1 +
>  cmd/elf.c       | 2 ++
>  3 files changed, 4 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

although I'm not sure why the load.c change is not in this patch too?


More information about the U-Boot mailing list