Patrick Delaunay | 6332c04 | 2020-06-16 18:27:44 +0200 | [diff] [blame] | 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); |
Patrick Delaunay | d538829 | 2023-01-06 13:20:15 +0100 | [diff] [blame] | 8 | |
| 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) |