mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
c205fe979e
Obtain from TAMP backup register information about image authorization status and partition id used for booting. Store this info in environmental variables ("boot_auth" and "boot_part" correspondingly). Image authorization supported values: 0x0 - No authentication done 0x1 - Authentication done and failed 0x2 - Authentication done and succeeded These values are stored to TAMP backup register by Trusted Firmware-A [1]. Testing: STM32MP> print boot_part boot_part=1 STM32MP> print boot_auth boot_auth=2 [1] https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?h=refs/heads/integration&id=ab2b325c1ab895e626d4e11a9f26b9e7c968f8d8 Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io> Co-developed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> |
||
---|---|---|
.. | ||
cmd_stm32prog | ||
include/mach | ||
boot_params.c | ||
bsec.c | ||
cmd_stm32key.c | ||
cpu.c | ||
dram_init.c | ||
ecdsa_romapi.c | ||
fdt.c | ||
Kconfig | ||
Kconfig.13x | ||
Kconfig.15x | ||
Makefile | ||
psci.c | ||
pwr_regulator.c | ||
spl.c | ||
stm32mp13x.c | ||
stm32mp15x.c | ||
syscon.c | ||
tzc400.c |