u-boot/board/keymile/common
Aleksandar Gerasimovski efe19295a5 km: common: implement field fail-safe u-boot update
This patch provides possibility for field fail-safe u-boot updates.
The implementation can be used on all pg-wcom boards that are booting from
parallel NOR flash.

When used in a board design, provided check_for_uboot_update function will
start new u-boot at defined location if updateduboot envvar is set to yes.
With this implementation it is expected that factory programmed u-boot
will always stay as it is, and optionally new u-boot can be safely
programmed by embedded software when the unit is rolled out on the field.

It is expected check_for_uboot_update to be called early in execution
before relocation (*_f) once SoC is basically initialized and environment
can be read, with this possibilities to not be able to fix a u-boot bug by
a u-boot update are reduced to minimum.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2022-02-01 15:08:07 +05:30
..
common.c km: common: implement field fail-safe u-boot update 2022-02-01 15:08:07 +05:30
common.h km: common: implement field fail-safe u-boot update 2022-02-01 15:08:07 +05:30
ivm.c keymile: Use CONFIG_SYS_IVM_EEPROM_ADR 2021-08-30 14:10:05 -04:00
qrio.c km: qrio: add access functions for ebootcount 2022-02-01 15:08:07 +05:30
qrio.h km: qrio: add function to read PGY_PRES pin status 2022-02-01 15:04:24 +05:30