u-boot/arch/arm/mach-stm32mp/include/mach
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
..
bsec.h arm: stm32mp: protect DBGMCU_IDC access with BSEC 2020-07-07 16:01:23 +02:00
ddr.h ram: stm32mp1: increase vdd2_ddr: buck2 for 32bits LPDDR 2020-03-24 14:20:50 +01:00
gpio.h gpio: stm32f7: Move STM32_GPIOS_PER_BANK into gpio.h 2018-12-07 08:13:47 -05:00
stm32.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
stm32mp1_smc.h arm: stm32mp: improve the error message for smc 2020-03-24 14:05:35 +01:00
stm32prog.h stm32mp: stm32prog: adapt the MTD partitions 2020-05-14 09:02:12 +02:00
sys_proto.h arm: stm32mp: add weak function to save vddcore 2020-07-07 16:01:23 +02:00