platform_sotp.h 1.0 KB

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