autoboot: move bootdelay >= 0 check to abortboot()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Jun 2016 07:23:04 +0000 (16:23 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 1 Jul 2016 21:42:56 +0000 (17:42 -0400)
commit4632739202ae4d1f67c5591551598be0a80d501d
tree396b5f424b0a61b9947d649c122cfd646098a0b6
parent09b9d9e55f64259763c20217f7743dbeec9bb055
autoboot: move bootdelay >= 0 check to abortboot()

Move the bootdelay >= 0 check to the caller, which simplifies
the callees.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
common/autoboot.c