[U-Boot] [PATCH v5 0/7] Provide SPL support for bootcount (in the case of using falcon boot mode)

Lukasz Majewski
2018-05-02T14:10:49Z

This patch series provides support for controlling bootcount limits in SPL.
Moreover, the common code has been identified and reused in the
common/autoboot.c file.
It also enables this feature on display5 board to present usage patterns.

This patch has been applied on top of u-boot/master:
SHA1 : v2018.05-rc3

Test HW: Beagle Bone Black (am335x) , Display5 (imx6q)
Travis-Ci: https://travis-ci.org/lmajewski/u-boot-dfu/builds/373639971

Lukasz Majewski (7):
bootcount: spl: Enable bootcount support in SPL
bootcount: Add include guards into bootcount.h file
bootcount: Add function wrappers to handle bootcount increment and
error checking
bootcount: Rewrite autoboot to use wrapper functions from bootcount.h
bootcount: spl: Extend SPL to support bootcount incrementation
bootcount: display5: spl: Extend DISPLAY5 board SPL to support
bootcount checking
bootcount: display5: config: Enable boot count feature in the display5
board

board/liebherr/display5/spl.c | 3 ++-
common/autoboot.c | 23 +++++---------------
common/spl/Kconfig | 9 ++++++++
common/spl/spl.c | 3 +++
configs/display5_defconfig | 4 ++++
drivers/Makefile | 1 +
include/bootcount.h | 50 +++++++++++++++++++++++++++++++++++++++++++
7 files changed, 74 insertions(+), 19 deletions(-)

--
2.11.0