efuse_definition.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <efuse_writer chip="6735" output_bin_size="512">
  2. <definitions>
  3. <!-- Inner Value declaration-->
  4. <inner_value tag="magic-key" attribute="key1">
  5. <require length="8" />
  6. <suppress_log />
  7. </inner_value>
  8. <inner_value tag="magic-key" attribute="key2">
  9. <require length="8" />
  10. <suppress_log />
  11. </inner_value>
  12. <inner_value tag="usb-id" attribute="vid">
  13. <require length="4" />
  14. </inner_value>
  15. <inner_value tag="usb-id" attribute="pid">
  16. <require length="4" />
  17. </inner_value>
  18. <inner_value tag="cust-secure-ctrl" attribute="c_sec_ctrl">
  19. <require length="2" />
  20. </inner_value>
  21. <inner_value tag="cust-common-ctrl" attribute="c_ctrl">
  22. <require length="2" />
  23. <require valid_start_bit="0" valid_end_bit="6" />
  24. </inner_value>
  25. <!-- Inner Text declaration-->
  26. <inner_text tag="ac-key">
  27. <require length="32" />
  28. </inner_text>
  29. <!-- Boolean declaration-->
  30. <boolean tag="cust-common-ctrl" attribute="DISABLE_EFUSE_BLOW" />
  31. <boolean tag="common-ctrl" attribute="Disable_NAND_boot_speedup" />
  32. <boolean tag="common-ctrl" attribute="USB_download_type" />
  33. <boolean tag="common-ctrl" attribute="Disable_NAND_boot" />
  34. <boolean tag="common-ctrl" attribute="Disable_EMMC_boot" />
  35. <boolean tag="secure-ctrl" attribute="Enable_SW_JTAG_CON" />
  36. <boolean tag="secure-ctrl" attribute="Enable_Root_Cert" />
  37. <boolean tag="secure-ctrl" attribute="Enable_ACC" />
  38. <boolean tag="secure-ctrl" attribute="Enable_ACK" />
  39. <boolean tag="secure-ctrl" attribute="Enable_SLA" />
  40. <boolean tag="secure-ctrl" attribute="Enable_DAA" />
  41. <boolean tag="secure-ctrl" attribute="Enable_SBC" />
  42. <boolean tag="secure-ctrl" attribute="Disable_JTAG" />
  43. <boolean tag="secure-ctrl" attribute="Disable_DBGPORT_LOCK" />
  44. <boolean tag="common-lock" attribute="com_ctrl_lock" />
  45. <boolean tag="common-lock" attribute="usb_id_lock" />
  46. <boolean tag="secure-lock" attribute="sbc_pubk_hash_lock" />
  47. <boolean tag="secure-lock" attribute="ackey_lock" />
  48. <boolean tag="secure-lock" attribute="sec_attr_lock" />
  49. </definitions>
  50. <blow_list>
  51. <efuse offset="0x0" type="inner_value">
  52. <input tag="magic-key" attribute="key1" />
  53. </efuse>
  54. <efuse offset="0x4" type="inner_value">
  55. <input tag="magic-key" attribute="key2" />
  56. </efuse>
  57. <efuse offset="0xC" type="inner_text">
  58. <input tag="ac-key" start_index="0" end_index="7" />
  59. </efuse>
  60. <efuse offset="0x10" type="inner_text">
  61. <input tag="ac-key" start_index="8" end_index="15" />
  62. </efuse>
  63. <efuse offset="0x14" type="inner_text">
  64. <input tag="ac-key" start_index="16" end_index="23" />
  65. </efuse>
  66. <efuse offset="0x18" type="inner_text">
  67. <input tag="ac-key" start_index="24" end_index="31" />
  68. </efuse>
  69. <efuse offset="0x1C" type="external">
  70. <input key="SBC_PUBK_HASH" start_index="0" end_index="7" />
  71. </efuse>
  72. <efuse offset="0x20" type="external">
  73. <input key="SBC_PUBK_HASH" start_index="8" end_index="15" />
  74. </efuse>
  75. <efuse offset="0x24" type="external">
  76. <input key="SBC_PUBK_HASH" start_index="16" end_index="23" />
  77. </efuse>
  78. <efuse offset="0x28" type="external">
  79. <input key="SBC_PUBK_HASH" start_index="24" end_index="31" />
  80. </efuse>
  81. <efuse offset="0x2C" type="external">
  82. <input key="SBC_PUBK_HASH" start_index="32" end_index="39" />
  83. </efuse>
  84. <efuse offset="0x30" type="external">
  85. <input key="SBC_PUBK_HASH" start_index="40" end_index="47" />
  86. </efuse>
  87. <efuse offset="0x34" type="external">
  88. <input key="SBC_PUBK_HASH" start_index="48" end_index="55" />
  89. </efuse>
  90. <efuse offset="0x38" type="external">
  91. <input key="SBC_PUBK_HASH" start_index="56" end_index="63" />
  92. </efuse>
  93. <!-- usb-vid and usb-pid are special cases. They need to be reversed! -->
  94. <efuse offset="0x3C" type="inner_value">
  95. <input tag="usb-id" attribute="pid" reverse_endian="true" />
  96. </efuse>
  97. <!-- usb-vid and usb-pid are special cases. They need to be reversed! -->
  98. <efuse offset="0x40" type="inner_value">
  99. <input tag="usb-id" attribute="vid" reverse_endian="true" />
  100. </efuse>
  101. <efuse offset="0x44" type="boolean">
  102. <input bit="0" tag="common-ctrl" attribute="Disable_EMMC_boot" />
  103. <input bit="1" tag="common-ctrl" attribute="Disable_NAND_boot" />
  104. <input bit="2" tag="common-ctrl" attribute="USB_download_type" />
  105. <input bit="4" tag="common-ctrl" attribute="Disable_NAND_boot_speedup" />
  106. </efuse>
  107. <efuse offset="0x48" type="boolean">
  108. <input bit="0" tag="secure-ctrl" attribute="Disable_JTAG" />
  109. <input bit="1" tag="secure-ctrl" attribute="Enable_SBC" />
  110. <input bit="2" tag="secure-ctrl" attribute="Enable_DAA" />
  111. <input bit="3" tag="secure-ctrl" attribute="Enable_SLA" />
  112. <input bit="4" tag="secure-ctrl" attribute="Enable_ACK" />
  113. <input bit="5" tag="secure-ctrl" attribute="Enable_ACC" />
  114. <input bit="6" tag="secure-ctrl" attribute="Enable_SW_JTAG_CON" />
  115. <input bit="7" tag="secure-ctrl" attribute="Enable_Root_Cert" />
  116. <input bit="9" tag="secure-ctrl" attribute="Disable_DBGPORT_LOCK" />
  117. </efuse>
  118. <efuse offset="0x4C" type="inner_value">
  119. <input tag="cust-secure-ctrl" attribute="c_sec_ctrl" />
  120. </efuse>
  121. <efuse offset="0x50" type="mix_type">
  122. <input tag="cust-common-ctrl" attribute="c_ctrl" type="inner_value" />
  123. <input bit="7" tag="cust-common-ctrl" attribute="DISABLE_EFUSE_BLOW" type="boolean" />
  124. </efuse>
  125. <efuse offset="0x54" type="boolean">
  126. <input bit="0" tag="secure-lock" attribute="sbc_pubk_hash_lock" />
  127. <input bit="1" tag="secure-lock" attribute="ackey_lock" />
  128. <input bit="2" tag="secure-lock" attribute="sec_attr_lock" />
  129. </efuse>
  130. <efuse offset="0x58" type="boolean">
  131. <input bit="1" tag="common-lock" attribute="usb_id_lock" />
  132. <input bit="2" tag="common-lock" attribute="com_ctrl_lock" />
  133. </efuse>
  134. </blow_list>
  135. </efuse_writer>