u-boot-brain/arch
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
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm arm: stm32mp: protect DBGMCU_IDC access with BSEC 2020-07-07 16:01:23 +02:00
m68k Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
microblaze Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
nios2 Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
powerpc Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
riscv Merge branch 'next' 2020-07-06 15:46:38 -04:00
sandbox Merge branch 'next' 2020-07-06 15:46:38 -04:00
sh Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
x86 x86: Convert from ACCESS_ONCE to READ/WRITE_ONCE 2020-07-01 10:11:03 -04:00
xtensa Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00