MA-17159 Implement bootloader menu for imx7ulp
authorJi Luo <ji.luo@nxp.com>
Thu, 7 May 2020 04:52:00 +0000 (12:52 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:19 +0000 (09:49 +0800)
commit0e9dfdfc5e06b2897c4471ac6d29a70218e4f11c
tree19361e314398b84e7219dc59023b662b18e66ef7
parentacf95d07b8d85efa7091cd8a361275c03d78b2fe
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)
arch/arm/mach-imx/Kconfig
board/freescale/mx7ulp_evk/mx7ulp_evk.c