startup: Register autoboot variables earlier
Autoboot is controlled by autoboot_timeout and autoboot_abort_key
variables which might be altered by init scripts, so we need to
register them before those scripts are run. Otherwise they are
set back to defaultenv values upon registration.

Fixes: 35266d7e583f ("startup: Factor out the autoboot counter...")
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent db04e7b commit 7536df20a8aefb35b83aebdb5eac636ef1df75fd
@Ladislav Michl Ladislav Michl authored on 21 Aug 2019
Sascha Hauer committed on 23 Aug 2019
Showing 1 changed file
View
common/startup.c