tools: kwboot: Change KWBOOT_MSG_RSP_TIMEO_AXP to 10ms
authorStefan Roese <sr@denx.de>
Fri, 19 Aug 2022 07:43:59 +0000 (09:43 +0200)
committerStefan Roese <sr@denx.de>
Tue, 13 Sep 2022 04:38:08 +0000 (06:38 +0200)
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 <sr@denx.de>
Acked-by: Pali Rohár <pali@kernel.org>
tools/kwboot.c

index 16bcd4d..da4fe32 100644 (file)
@@ -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