summaryrefslogtreecommitdiffstats
path: root/common/efi
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2020-04-22 09:35:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-04-27 21:16:05 +0200
commit10062129e708a23b354424d0134a9ccd3e56b4bc (patch)
tree2898b9c7229a7ecfede1fbe89e9bc68ce90f4d68 /common/efi
parent19738925331a98244f7f774001e4964e9891d3b6 (diff)
downloadbarebox-10062129e708a23b354424d0134a9ccd3e56b4bc.tar.gz
barebox-10062129e708a23b354424d0134a9ccd3e56b4bc.tar.xz
startup: add $global.autoboot to make behavior configurable
We already have a global_autoboot_state variable that controls barebox init behavior on startup: * ABORT abort and fall into shell * MENU display boot menu * BOOT boot immediately, only abortable via ctrl+c during init * COUNTDOWN regular boot after count down Exporting this as a device parameter allows us to support some different boot scenarios: * COUNTDOWN is the default * ABORT boot always while debugging * display MENU by default (e.g. for graphical boots) * BOOT while ignoring external code calling console_countdown_abort() Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/efi')
0 files changed, 0 insertions, 0 deletions