]> git.baikalelectronics.ru Git - uboot.git/commit
boot: Call flush() before booting
authorPali Rohár <pali@kernel.org>
Mon, 5 Sep 2022 09:31:21 +0000 (11:31 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 24 Sep 2022 15:34:38 +0000 (11:34 -0400)
commit65defed4fd3e1e962c44418be251f1cb78608099
tree75203cc106a2c1c340024fdb562be7c9b6d0e4e2
parenta3bea68e638c58a97e3a4a23a39f22139d4528f9
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 <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/bootm_os.c
cmd/boot.c
cmd/elf.c