autoboot: Adjust the implementation in autoboot_command()
authorSimon Glass <sjg@chromium.org>
Sun, 21 Jul 2019 02:51:28 +0000 (20:51 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 2 Aug 2019 15:19:14 +0000 (11:19 -0400)
commit5ec35ff3eb4598f93e349ea9a4fd56b700c1a3c3
tree9257904259608b0d8d2baeb494077cd8c54bf00f
parent5fa3fd25ed600694ba62488aa646dcec14bf4bbe
autoboot: Adjust the implementation in autoboot_command()

Avoid use of #ifdef and keep the common condion in a variable. This makes
the code easier to read.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/autoboot.c