autoboot: Drop #ifdef CONFIG_AUTOBOOT_KEYED
authorSimon Glass <sjg@chromium.org>
Sun, 21 Jul 2019 02:51:19 +0000 (20:51 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 2 Aug 2019 15:19:14 +0000 (11:19 -0400)
commite79e4b250af3c714cfa9aecb2cf5165443429210
treef5418afec5e9ff8429251e8a4ee76faafd759162
parent42b4d14e34322cba4f4c855fff43688a89c0fbeb
autoboot: Drop #ifdef CONFIG_AUTOBOOT_KEYED

At present we have two functions named __autoboot() which do different
things. This is confusing. Fix it by using if() instead of #ifdef for
selecting the functions, and renaming them to meaningful names.

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