Migrate bootlimit to Kconfig
authorAlex Kiernan <alex.kiernan@gmail.com>
Sat, 21 Jul 2018 20:25:33 +0000 (20:25 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 17 Aug 2018 17:03:59 +0000 (13:03 -0400)
commitca0d535edcd2c2fdbd133575c3b06b583924741c
treeb25204bd854909ee583a690ead836d537bfb19a9
parentc9ad6bc23543fbfa9735118b93b5f4741ab0ad6f
Migrate bootlimit to Kconfig

Migrate boards which set bootlimit in the environment to Kconfig.

We exclude gurnard_defconfig which includes a bootlimit=, but doesn't set
CONFIG_BOOTCOUNT_LIMIT, so we'd fail to include a bootlimit setting
if we migrated it.

display5_defconfig and display5_factory_defconfig share a SYS_CONFIG_NAME,
but only display5_defconfig enables CONFIG_BOOTCOUNT_LIMIT, so we fail to
set bootlimit= in display5_factory_defconfig. This is okay because the
display5_factory_defconfig doesn't need to have it set, as it is only
meant to prepare the board in the factory.

Environment changes for all modified configs as seen from buildman:

  boards.cfg is up to date. Nothing to do.
  Summary of 3 commits for 32 boards (8 threads, 1 job per thread)
  01: Merge git://git.denx.de/u-boot-x86
         arm:  +   draco etamin rastaban pxm2 display5 thuban rut
  02: Add BOOTCOUNT_BOOTLIMIT to set reboot limit
  03: Migrate bootlimit to Kconfig
     - display5_factory: bootlimit=3

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
37 files changed:
configs/calimain_defconfig
configs/display5_defconfig
configs/draco_defconfig
configs/etamin_defconfig
configs/ge_bx50v3_defconfig
configs/km_kirkwood_128m16_defconfig
configs/km_kirkwood_defconfig
configs/km_kirkwood_pci_defconfig
configs/kmcoge4_defconfig
configs/kmcoge5ne_defconfig
configs/kmcoge5un_defconfig
configs/kmeter1_defconfig
configs/kmlion1_defconfig
configs/kmnusa_defconfig
configs/kmopti2_defconfig
configs/kmsugp1_defconfig
configs/kmsupx5_defconfig
configs/kmsuv31_defconfig
configs/kmtegr1_defconfig
configs/kmtepr2_defconfig
configs/kmvect1_defconfig
configs/mgcoge3un_defconfig
configs/mx53ppd_defconfig
configs/portl2_defconfig
configs/pxm2_defconfig
configs/rastaban_defconfig
configs/rut_defconfig
configs/suvd3_defconfig
configs/thuban_defconfig
configs/tuge1_defconfig
configs/tuxx1_defconfig
include/configs/calimain.h
include/configs/display5.h
include/configs/ge_bx50v3.h
include/configs/km/keymile-common.h
include/configs/mx53ppd.h
include/configs/siemens-am33x-common.h