arm: stm32mp: protect DBGMCU_IDC access with BSEC
[pandora-u-boot.git] / arch / arm / mach-stm32mp / include / mach / bsec.h
1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
2 /*
3  * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
4  */
5
6 /* check self hosted debug status = BSEC_DENABLE.DBGSWENABLE */
7 bool bsec_dbgswenable(void);