summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2020-05-07 12:52:00 +0800
committerJi Luo <ji.luo@nxp.com>2022-04-18 16:40:10 +0800
commit67afc8c772c8f74f134985e79d1dce9c7c3cd593 (patch)
tree0cdfbffd57ec2e1042b4d7c82b212e301a225db8 /arch/arm
parent4d54e716c0ce68e056105f12cc19a95e944246dc (diff)
MA-17159 Implement bootloader menu for imx7ulp
According to the spec of android wear, the device MUST provides a bootloader menu for debugging purpose. This commit implements a simple bootloader menu based on imx7ulp_evk revb board, the menu will show when booting with 'VOL+' key pressed, users can press "VOL+" to choose the item, then press "ONOFF" key to confirm. Test: bootloader menu show on imx7ulp_evk revb. Change-Id: I80638a43afa17e312e633b05888c62440380b42b Signed-off-by: Ji Luo <ji.luo@nxp.com> (cherry picked from commit 9d5995caf7146d4955fba2524a7f25d761049e28) (cherry picked from commit 0e9dfdfc5e06b2897c4471ac6d29a70218e4f11c)
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index fd91a3896b..ef040abeee 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -363,3 +363,8 @@ config ANDROID_DYNAMIC_PARTITION
config VIRTUAL_AB_SUPPORT
bool "Support virtual AB update"
select ANDROID_DYNAMIC_PARTITION
+
+config BOOTLOADER_MENU
+ bool "Enable bootloader menu for android device"
+ help
+ bootloader menu feature for android device.