aboutsummaryrefslogtreecommitdiff
path: root/tools/kwboot.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2022-08-19 09:43:59 +0200
committerStefan Roese <sr@denx.de>2022-09-13 06:38:08 +0200
commitca076d96894fbaa375236da529dc35287413abff (patch)
tree81baf4dfbe472124a880e7f2ff29926d8b396df2 /tools/kwboot.c
parenta8a0c55f9d1cd0f4618288b25f63857373015391 (diff)
downloadu-boot-ca076d96894fbaa375236da529dc35287413abff.zip
u-boot-ca076d96894fbaa375236da529dc35287413abff.tar.gz
u-boot-ca076d96894fbaa375236da529dc35287413abff.tar.bz2
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 <sr@denx.de> Acked-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'tools/kwboot.c')
-rw-r--r--tools/kwboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kwboot.c b/tools/kwboot.c
index 16bcd4d..da4fe32 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