From: Lukasz Majewski Date: Sun, 29 Apr 2018 15:36:26 +0200 Subject: [U-Boot] [PATCH v3 0/7] Provide SPL support for bootcount (in the case of using falcon boot mode) Message-ID: <20180429133633.29509-1-lukma@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 : ec37f05ec0a999e0bd79f87354716df6f9bc074d Test HW: Beagle Bone Black (am335x) , Display5 (imx6q) Travis-Ci: https://travis-ci.org/lmajewski/u-boot-dfu/builds/372217887 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 | 53 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 77 insertions(+), 19 deletions(-) -- 2.11.0