u-boot/arch/arm
Igor Opaniuk c205fe979e stm32mp1: read auth stats and boot_partition from tamp
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>
2023-11-10 13:34:10 +01:00
..
cpu sunxi: psci: implement PSCI on R528 2023-10-22 23:41:52 +01:00
dts ARM: dts: stm32mp: Repair damage from alignment with v6.3 2023-11-10 13:23:02 +01:00
include mmc: tegra: get default-tap and default-trim from device tree 2023-11-03 12:37:15 -04:00
lib spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN 2023-10-06 14:38:12 -04:00
mach-apple arm: apple: Add initial Apple M2 Ultra support 2023-10-11 13:22:32 -04:00
mach-aspeed
mach-at91 board: Add support for Conclusive KSTR-SAMA5D27 2023-10-23 17:07:06 +03:00
mach-bcm283x
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci
mach-exynos exynos: Cleanup exynos_init 2023-10-09 15:24:31 -04:00
mach-highbank
mach-histb
mach-hpe
mach-imx Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mach-integrator
mach-ipq40xx
mach-k3 treewide: use dev_read_addr_*_ptr() where appropriate 2023-10-13 14:01:42 -06:00
mach-keystone
mach-kirkwood arm: kirkwood: Add support for ZyXEL NSA325 board 2023-10-16 11:10:42 +02:00
mach-lpc32xx
mach-mediatek
mach-meson arch: meson: use secure monitor driver 2023-10-15 12:23:48 +02:00
mach-mvebu arm: mvebu: allow additional 4096 offset for bootable mmc image 2023-10-26 14:49:36 +02:00
mach-nexell
mach-npcm
mach-octeontx
mach-octeontx2
mach-omap2 Merge branch 'next' 2023-10-02 10:55:44 -04:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile arm: mach-rmobile: Drop <common.h> 2023-11-02 11:30:18 +01:00
mach-rockchip Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mach-s5pc1xx
mach-snapdragon Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mach-socfpga spl: Enable CONFIG_SPL_SYS_MALLOC_F where needed 2023-10-06 14:38:12 -04:00
mach-sti
mach-stm32
mach-stm32mp stm32mp1: read auth stats and boot_partition from tamp 2023-11-10 13:34:10 +01:00
mach-sunxi Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mach-tegra arm: mach-tegra: enable sysreset driver 2023-11-03 17:40:11 -04:00
mach-u8500
mach-uniphier common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
mach-versal arm64: versal: Add SelectMAP boot mode identification 2023-10-09 13:03:23 +02:00
mach-versal-net arm64: versal: Add SelectMAP boot mode identification 2023-10-09 13:03:23 +02:00
mach-versatile
mach-zynq
mach-zynqmp arm64: zynqmp: Fix Kconfig entry indentation 2023-11-07 13:47:09 +01:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk
Kconfig pinctrl: sunxi: remove GPIO_EXTRA_HEADER 2023-10-22 23:40:57 +01:00
Kconfig.debug
Makefile