summaryrefslogtreecommitdiff
path: root/arch/arm/mach-kirkwood
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-03-11 13:56:14 +0100
committerStefan Roese <sr@denx.de>2019-04-12 07:04:18 +0200
commit54055ff7a6e66e7206db6f5e350f3880983afdd8 (patch)
tree53801ba3c3e6ba4d6350732744c0a61cdd779de8 /arch/arm/mach-kirkwood
parentef13016573d1efb8e92401371d7e8af1af14b5bc (diff)
downloadu-boot-54055ff7a6e66e7206db6f5e350f3880983afdd8.tar.gz
arm: mvebu: theadorable: Add test for ctrl-c in PCIe PEX switch test
The check for the missing PEX switch can lead to an infinite loop, when the PCIe device is not found. It is helpful to enable the user to break out of this boot-loop, to enable booting to the prompt for test cases. This patch adds a 3 second delay in the error case before rebooting. The user can press Ctrl-C in this time to abort the boot-loop. This patch also calls bootcount_inc() before rebooting in the error case. This is needed to increment the bootcounter, since this function is called earlier than the main bootcounter increment. Otherwise the bootcounter will not be incremented in the error case at all. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-kirkwood')
0 files changed, 0 insertions, 0 deletions