blob: 10ebc535c4b5bb91ca636a14053199161559a216 [file] [log] [blame]
Patrick Delaunay6332c042020-06-16 18:27:44 +02001/* 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 */
7bool bsec_dbgswenable(void);
Patrick Delaunayd5388292023-01-06 13:20:15 +01008
9/* Bitfield definition for LOCK status */
10#define BSEC_LOCK_PERM BIT(30)
11#define BSEC_LOCK_SHADOW_R BIT(29)
12#define BSEC_LOCK_SHADOW_W BIT(28)
13#define BSEC_LOCK_SHADOW_P BIT(27)
14#define BSEC_LOCK_ERROR BIT(26)