summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2016-09-28 20:50:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-10-04 21:14:19 +0200
commitebec4450929ad823e06bea14192c07d3cc69210a (patch)
tree29dbbd1a6e012a69e625e8918a21af53cc6a9165
parent1a64dd38544425e92de81aa505f6f390a7a53256 (diff)
downloadbarebox-ebec4450929ad823e06bea14192c07d3cc69210a.tar.gz
barebox-ebec4450929ad823e06bea14192c07d3cc69210a.tar.xz
scripts: kwboot: shorten delay between two boot messages
Together with the previous changes that allow to handle the scenario where too many messages were sent, this greatly improves the probability to hit the time window during which the CPU accepts a boot message. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--scripts/kwboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kwboot.c b/scripts/kwboot.c
index 0a089b5936..58ea1ad7a7 100644
--- a/scripts/kwboot.c
+++ b/scripts/kwboot.c
@@ -36,7 +36,7 @@ static unsigned char kwboot_msg_debug[] = {
};
#define KWBOOT_MSG_REQ_DELAY 1000 /* ms */
-#define KWBOOT_MSG_RSP_TIMEO 1000 /* ms */
+#define KWBOOT_MSG_RSP_TIMEO 1 /* ms */
/*
* Xmodem Transfers