u-boot/board/keymile
Simon Glass 91caa3bb89 event: Use an event to replace last_stage_init()
Add a new event which handles this function. Convert existing use of
the function to use the new event instead.

Make sure that EVENT is enabled by affected boards, by selecting it from
the LAST_STAGE_INIT option. For x86, enable it by default since all boards
need it.

For controlcenterdc, inline the get_tpm() function and make sure the event
is not built in SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
2023-08-31 13:16:55 -04:00
..
common Correct SPL use of PG_WCOM_UBOOT_UPDATE_SUPPORTED 2023-03-02 17:45:58 -05:00
km83xx event: Use an event to replace last_stage_init() 2023-08-31 13:16:55 -04:00
kmcent2 event: Use an event to replace last_stage_init() 2023-08-31 13:16:55 -04:00
pg-wcom-ls102xa event: Use an event to replace last_stage_init() 2023-08-31 13:16:55 -04:00
scripts board/km: remove kirkwood boards 2022-10-06 10:13:38 +02:00
secu1 MAINTAINERS: Add some missing directories or files 2023-07-25 12:44:47 -04:00
Kconfig global: Use proper project name U-Boot 2023-06-12 13:24:31 +02:00
README global: Use proper project name U-Boot 2023-06-12 13:24:31 +02:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Field Fail-Save U-Boot Update
-----------------------------
Field Fail-Save u-boot update is a feature that allows save u-boot update
of FOX and XMC products that are rolled out in the field.

The feature is initially implemented for designs based on LS102x SoC, but in
theory can be used on all designs that are booting from parallel NOR flash.

The implementation expects redundant (secondary) u-boot image on a predefined
location in the NOR flash, u-boot execution will be transferred to the redundant 
(secondary) u-boot and redundant u-boot will be started if 'updateduboot' envvar
is set to 'yes'.
Update logic check_for_uboot_update() has to be invoked from the design early
before relocation just after SoC initialization, e.g from board_early_init_f or
misc_init_f functions.
By design it is expected that primary u-boot image is burned in the factory and
never updated, and in case u-boot update is required it can flashed and started
from secondary u-boot location.