]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-firmware/system-firmware-image-gen.git/blobdiff - soc/j721e/evm/sec-cfg.c
j721e: am65x: sec-cfg: Add otp_config section
[processor-firmware/system-firmware-image-gen.git] / soc / j721e / evm / sec-cfg.c
index b628d8b340da61ff9a14e7f09fd0c210edbe3e21..4392a318897356d2b98500113460fe4a4ae08596 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * K3 System Firmware Security Configuration Data
  *
- * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2019-2020 Texas Instruments Incorporated - http://www.ti.com/
  *     Andreas Dannenberg <dannenberg@ti.com>
  *
  * Redistribution and use in source and binary forms, with or without
@@ -59,4 +59,16 @@ const struct boardcfg_security j721e_boardcfg_security_data = {
                        },
                        .host_hierarchy_entries = {{ 0 } },
        },
+
+       /* OTP access configuration */
+       .otp_config = {
+               .subhdr = {
+                       .magic = BOARDCFG_OTP_CFG_MAGIC_NUM,
+                       .size = sizeof(struct boardcfg_extended_otp),
+               },
+               /* Host ID 0 is DMSC. This means no host has write access to OTP array */
+               .write_host_id = 0,
+               /* This is an array with 32 entries */
+               .otp_entry = {{ 0 } },
+       },
 };