u-boot/arch/arm/mach-rockchip
Chris Morgan 30975fb73d rockchip: Add option to prevent booting on power plug-in
For Rockchip boards with the all rk8xx series PMICs (excluding the
rk808), it is sometimes desirable to not boot whenever the device is
plugged in. An example would be for the Odroid Go Advance.

This provides a configurable option to check the PMIC says it was
powered because of a plug-in event. If the value is 1 and this option
is selected, the device shuts down shortly after printing a message
to console stating the reason why it's shutting down. Powering up the
board with the power button is not affected.

This patch parallels the work done in the following patch series:
https://lore.kernel.org/u-boot/20220121133732.2397273-1-andre.przywara@arm.com/

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2022-06-29 11:42:10 +08:00
..
px30 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rk322x rockchip: fix boot_devices constants 2022-04-18 11:25:13 +08:00
rk3036 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rk3066 rockchip: rk3066: add Rikomagic MK808 board 2022-04-18 11:25:13 +08:00
rk3128 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rk3188 rockchip: fix boot_devices constants 2022-04-18 11:25:13 +08:00
rk3288 rockchip: fix boot_devices constants 2022-04-18 11:25:13 +08:00
rk3308 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rk3328 rockchip: fix boot_devices constants 2022-04-18 11:25:13 +08:00
rk3368 rockchip: fix boot_devices constants 2022-04-18 11:25:13 +08:00
rk3399 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rk3568 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rv1108 dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
board.c rockchip: board: change condition board_usb_init() in function 2022-06-29 11:28:16 +08:00
boot_mode.c rockchip: boot_mode: fix fastboot command 2021-12-24 15:17:51 +08:00
bootrom.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cpu-info.c rockchip: Separate the reset cause from display cpuinfo 2020-07-22 20:55:13 +08:00
Kconfig rockchip: Add option to prevent booting on power plug-in 2022-06-29 11:42:10 +08:00
make_fit_atf.py mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format 2022-06-29 11:32:35 +08:00
Makefile rockchip: rk3066: add core support 2022-04-18 11:25:13 +08:00
misc.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
px30-board-tpl.c Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
rk3036-board-spl.c arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid 2022-04-21 15:27:18 -04:00
sdram.c lib: optee: remove the duplicate CONFIG_OPTEE 2021-10-05 08:44:48 -04:00
spl-boot-order.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl.c arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid 2022-04-21 15:27:18 -04:00
tpl.c arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid 2022-04-21 15:27:18 -04:00
u-boot-tpl-v8.lds rockchip: add u-boot-tpl-v8.lds 2019-05-08 17:34:12 +08:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00