]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: Force BootROM to flush input queue after boot pattern
authorPali Rohár <pali@kernel.org>
Tue, 25 Jan 2022 17:13:08 +0000 (18:13 +0100)
committerStefan Roese <sr@denx.de>
Mon, 31 Jan 2022 09:23:38 +0000 (10:23 +0100)
commitb6b00dbc331cbd55ec0e8fe15f6996db3d9647d5
tree061140080a8674282e3e18c245bd67deb8632f4f
parent7303f00ee80b086249460c1aa3029e18e0553c8e
tools: kwboot: Force BootROM to flush input queue after boot pattern

Force the BootROM to flush its input queue after sending boot pattern.

This ensures that after function kwboot_bootmsg() finishes, BootROM is
able to start receiving xmodem packets without any specific delay or
setup.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c