]> git.ipfire.org Git - people/ms/u-boot.git/commit
tools/kwboot: Add parameters to set delay and timeout via cmdline
authorStefan Roese <sr@denx.de>
Fri, 29 May 2015 11:25:04 +0000 (13:25 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Sun, 14 Jun 2015 15:48:28 +0000 (17:48 +0200)
commit1c0df9ef6ed03baf6fd325dac546290f80c7fd09
tree35d2f46ce15f75595aa610a73fcbf9220ced4694
parente1b078e06c8be4c1991132fdc4cb8ca996ab2c4c
tools/kwboot: Add parameters to set delay and timeout via cmdline

To support the Armada 38x, new values for the request-delay and the
response-timeout are needed. As the values already implemented in
this tool (for Kirkwood and Armada XP) don't seem to work here.
To make this more flexible, lets add make those 2 parameters
configurable via the cmdline. Here the new parameters:

-q <req-delay>:  use specific request-delay
-s <resp-timeo>: use specific response-timeout

For the Marvell DB-88F6820 these values are known to work:

One board:
-q 2 -s 1

2nd board:
-q 5 -s 5

So this seems to be even board specific. But with this patch now
those values can be specified and tested via the cmdline.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Kevin Smith <kevin.smith@elecsyscorp.com>
Cc: Dirk Eibach <dirk.eibach@gdsys.cc>
Cc: Luka Perkov <luka.perkov@sartura.hr>
tools/kwboot.c