]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitd811da412edb2634b16dc6f607357accfcb8426b
tree9257904259608b0d8d2baeb494077cd8c54bf00f
parenta4daf6e872e7e113bf35c55258d15ae1566e4bab
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