diff options
| author | Pali Rohár <[email protected]> | 2022-09-05 11:31:21 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-24 11:34:38 -0400 |
| commit | efc3f9526f9cfcd8614668c03b9c66b209782c41 (patch) | |
| tree | 75203cc106a2c1c340024fdb562be7c9b6d0e4e2 /boot | |
| parent | 989cc40f806b68678e10203ec3b63d38d0fdd6eb (diff) | |
boot: Call flush() before booting
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/bootm_os.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/bootm_os.c b/boot/bootm_os.c index f31820cd07e..079224ce585 100644 --- a/boot/bootm_os.c +++ b/boot/bootm_os.c @@ -303,6 +303,7 @@ static void do_bootvx_fdt(bootm_headers_t *images) #else printf("## Starting vxWorks at 0x%08lx\n", (ulong)images->ep); #endif + flush(); boot_jump_vxworks(images); |
