]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: Allow to specify custom baudrate only in supported operations
authorPali Rohár <pali@kernel.org>
Mon, 7 Mar 2022 18:03:07 +0000 (19:03 +0100)
committerStefan Roese <sr@denx.de>
Mon, 14 Mar 2022 13:04:18 +0000 (14:04 +0100)
commitebbb8db3a0bd1662ca43f7c4b414adbea2659112
treeef8d669138e834baaec6633e6f53a9b49838079e
parent8503134bd32595600ec5bfed9225e9408fec8493
tools: kwboot: Allow to specify custom baudrate only in supported operations

Custom baudrate different than 115200 may be specified only when kwboot is
not going to send boot/debug message pattern or when it is going to send
boot message pattern with image file (in which case baudrate change happens
after sending kwbimage header). BootROM detects boot/debug message pattern
only at baudrate 115200.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c