startup: Fix do_autoboot_countdown() running multiple times
The comment above do_autoboot_countdown() states: "This function can be
called multiple times, it is executed only the first time.". Since
1973892533 ("startup: don't clobber original autoboot state") This is no
longer the case. Bring back the old and documented behaviour.

Fixes: 1973892533 ("startup: don't clobber original autoboot state")
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8628b58 commit 73d2e0b7343d6a22d4b47499a3edf209cea60ccc
@Sascha Hauer Sascha Hauer authored on 25 Jun 2020
Showing 2 changed files
View
common/startup.c
View
include/common.h