1 /*
2  * Copyright (c) 2016-2020, Broadcom
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef PLATFORM_SOTP_H
8 #define PLATFORM_SOTP_H
9 
10 #define SOTP_DEVICE_SECURE_CFG0_ROW 17
11 #define SOTP_DEVICE_SECURE_CFG1_ROW 18
12 #define SOTP_DEVICE_SECURE_CFG2_ROW 19
13 #define SOTP_DEVICE_SECURE_CFG3_ROW 20
14 #define SOTP_BRCM_SOFTWARE_CFG0_ROW 21
15 #define SOTP_BRCM_SOFTWARE_CFG1_ROW 22
16 #define SOTP_BRCM_SOFTWARE_CFG2_ROW 23
17 #define SOTP_BRCM_SOFTWARE_CFG3_ROW 24
18 #define SOTP_CUSTOMER_ID_CFG0_ROW 25
19 #define SOTP_CUSTOMER_ID_CFG1_ROW 26
20 #define SOTP_CUSTOMER_ID_CFG2_ROW 27
21 #define SOTP_CUSTOMER_ID_CFG3_ROW 28
22 #define SOTP_CUSTOMER_DEV_CFG0_ROW 29
23 #define SOTP_CUSTOMER_DEV_CFG1_ROW 30
24 #define SOTP_CUSTOMER_DEV_CFG2_ROW 31
25 #define SOTP_CUSTOMER_DEV_CFG3_ROW 32
26 #define SOTP_DAUTH_ROW 33
27 #define SOTP_K_HMAC_ROW 45
28 #define SOTP_K_AES_ROW 57
29 #define SOTP_NVCOUNTER_ROW 69
30 
31 #define SOTP_BRCM_CFG_ECC_ERROR_MASK 0x100000
32 #define SOTP_DAUTH_ECC_ERROR_MASK 0x800000
33 #define SOTP_K_HMAC_ECC_ERROR_MASK 0x1000000
34 #define SOTP_K_AES_ECC_ERROR_MASK 0x2000000
35 
36 #endif
37