u-boot/arch/arm/mach-stm32mp
Patrick Delaunay bd3f60d29c arm: stm32mp: protect DBGMCU_IDC access with BSEC
As debugger must be totally closed on Sec closed chip,
the DBGMCU_IDC register is no more accessible (self
hosted debug is disabled with OTP).

This patch adds a function bsec_dbgswenable() to check
if the DBGMCU registers are available before to access them:
BSEC_DENABLE.DBGSWENABLE = self hosted debug status.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2020-07-07 16:01:23 +02:00
..
cmd_stm32prog arm: stm32mp: stm32prog: add "Device Name" in iproduct during DFU USB enumeration 2020-07-07 16:01:23 +02:00
include/mach arm: stm32mp: protect DBGMCU_IDC access with BSEC 2020-07-07 16:01:23 +02:00
boot_params.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bsec.c arm: stm32mp: protect DBGMCU_IDC access with BSEC 2020-07-07 16:01:23 +02:00
cmd_stm32key.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
config.mk stm32mp1: add trusted boot with TF-A 2019-04-12 16:09:13 +02:00
cpu.c arm: stm32mp: protect DBGMCU_IDC access with BSEC 2020-07-07 16:01:23 +02:00
dram_init.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fdt.c board: stm32mp1: fix handling of DT OP-TEE reserved memory nodes 2020-06-16 10:38:09 +02:00
Kconfig board: st: stpmic1: add function stpmic1_init 2020-07-07 16:01:23 +02:00
Makefile arm: stm32mp: spl: add bsec driver in SPL 2020-07-07 16:01:23 +02:00
psci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pwr_regulator.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
syscon.c stm32mp1: pwr: use the last binding for pwr 2020-02-13 17:26:22 +01:00