From: Stefan Roese Date: Fri, 19 Aug 2022 07:43:59 +0000 (+0200) Subject: tools: kwboot: Change KWBOOT_MSG_RSP_TIMEO_AXP to 10ms X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ca076d96894fbaa375236da529dc35287413abff;p=u-boot.git tools: kwboot: Change KWBOOT_MSG_RSP_TIMEO_AXP to 10ms Testing on the theadorable Armada XP platform has shown, thaz using the current value of 1000ms as response timeout does not result in reliable booting via kwboot. Using 10ms seems to be much better. So let's change this value to this 10ms instead. Signed-off-by: Stefan Roese Acked-by: Pali Rohár --- diff --git a/tools/kwboot.c b/tools/kwboot.c index 16bcd4d9a7..da4fe32da2 100644 --- a/tools/kwboot.c +++ b/tools/kwboot.c @@ -84,7 +84,7 @@ static unsigned char kwboot_msg_debug[] = { #define KWBOOT_MSG_RSP_TIMEO 50 /* ms */ /* Defines known to work on Armada XP */ -#define KWBOOT_MSG_RSP_TIMEO_AXP 1000 /* ms */ +#define KWBOOT_MSG_RSP_TIMEO_AXP 10 /* ms */ /* * Xmodem Transfers