summaryrefslogtreecommitdiff
path: root/configs/dragonboard410c_defconfig
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2021-07-14 11:56:25 +0300
committerTom Rini <trini@konsulko.com>2021-07-24 01:53:46 +0300
commitccb8de2387c66b61bb8b974dea9018a8ab63d847 (patch)
tree991ef8f68fccdd241c78990290988786d60108b4 /configs/dragonboard410c_defconfig
parent1d667227ea512537b8453abeb49abbf19a1a18e8 (diff)
downloadu-boot-ccb8de2387c66b61bb8b974dea9018a8ab63d847.tar.xz
board: dragonboard410c: Fix fastboot
At the moment pressing the volume down key does not actually launch fastboot. This is because setting "bootdelay" to "-1" actually disables autoboot and drops to the U-Boot console. It does not execute the "bootcmd". The correct value for "bootdelay" here would be "-2", which disables the delay and key checking and would immediately execute the "bootcmd". However, even better in this case is using "preboot" to trigger Fastboot. The advantage is that running "fastboot continue" will actually continue the autoboot process instead of ending up in the U-Boot shell. Also make sure to unset "preboot" again immediately in case the user saves the environment after triggering fastboot. Cc: Ramon Fried <rfried.dev@gmail.com> Fixes: aa043ee91a47 ("db410c: automatically launch fastboot") Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'configs/dragonboard410c_defconfig')
-rw-r--r--configs/dragonboard410c_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/dragonboard410c_defconfig b/configs/dragonboard410c_defconfig
index dc9d0d893c..a46283f980 100644
--- a/configs/dragonboard410c_defconfig
+++ b/configs/dragonboard410c_defconfig
@@ -10,6 +10,7 @@ CONFIG_DISTRO_DEFAULTS=y
# CONFIG_ANDROID_BOOT_IMAGE is not set
CONFIG_FIT=y
CONFIG_OF_BOARD_SETUP=y
+CONFIG_USE_PREBOOT=y
# CONFIG_DISPLAY_CPUINFO is not set
# CONFIG_DISPLAY_BOARDINFO is not set
CONFIG_MISC_INIT_R=y