u-boot/arch/arm/mach-stm32mp
Patrick Delaunay 9788708f03 arm: stm32mp: bsec: Update OTP shadow registers in SPL
Currently the upper OTP (after 57) are shadowed in U-Boot proper,
when TFABOOT is not used.

This choice cause an issue when U-Boot is not executed after SPL,
so this BSEC initialization is moved in SPL and no more executed in U-Boot,
so it is still executed only one time.

After this patch this BSEC initialization is done in FSBL: SPL or TF-A.

To force this initialization in all the case, the probe of the BSEC
driver is forced in SPL in the arch st32mp function: spl_board_init().

Even if today BSEC driver is already probed in STM32MP15x clock driver
clk_stm32mp1.c because get_cpu_type() is called in
stm32mp1_get_max_opp_freq() function.

Reported-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-11-10 17:06:51 +01:00
..
cmd_stm32prog stm32mp: stm32prog: Normalise newlines 2021-11-10 15:11:15 +01:00
include/mach gpio: stm32: create include file for driver private data 2021-11-10 17:03:36 +01:00
boot_params.c sandbox: Remove OF_HOSTFILE 2021-10-27 16:38:26 -04:00
bsec.c arm: stm32mp: bsec: Update OTP shadow registers in SPL 2021-11-10 17:06:51 +01:00
cmd_stm32key.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
cpu.c arm: stm32mp: bsec: Update OTP shadow registers in SPL 2021-11-10 17:06:51 +01:00
dram_init.c stm32mp: Fix board_get_usable_ram_top() 2021-09-06 10:00:11 +02:00
ecdsa_romapi.c arm: stm32mp1: Implement ECDSA signature verification 2021-08-16 10:49:35 +02:00
fdt.c tee: add a stub for tee_find_device 2021-10-05 08:44:48 -04:00
Kconfig stm32mp: add binman support for STM32MP15x 2021-11-10 15:12:16 +01:00
Makefile arm: stm32mp1: Implement ECDSA signature verification 2021-08-16 10:49:35 +02:00
psci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pwr_regulator.c arm: stm32mp: migrate trace to log macro 2021-01-13 09:52:58 +01:00
spl.c stm32mp1: spl: Configure TrustZone controller for OP-TEE 2021-07-27 09:48:11 +02:00
syscon.c stm32mp: syscon: manage clock when present in device tree 2021-07-16 09:28:46 +02:00
tzc400.c arm: stm32mp: Implement support for TZC 400 controller 2021-07-27 09:48:09 +02:00