]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3399: Add bootcount support
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 9 Jan 2020 08:52:19 +0000 (14:22 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 Jan 2020 03:44:01 +0000 (11:44 +0800)
commitc14fc357e59120073e99a3acb624ce35766b6869
tree2ca3448adb9a39aaf49222cbea96c4bf32d1b7f2
parent8f2d71b84728f951f6df5fc5e9757ce7e0142696
rockchip: rk3399: Add bootcount support

Add bootcount support for Rockchip rk3399.

The bootcount value is preserved in PMU_SYS_REG0 register,
this would help to support redundent boot.

Once the redundant boot triggers, the altboot command
will look for extlinux-rollback.conf on particular
bootable partition which supposed to be a recovery
partition where redundant boot required.

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/rk3399/Kconfig
include/configs/rk3399_common.h