|
@@ -156,17 +156,15 @@ Efuse_CalculateWordCnts(u8 word_en)
|
|
|
return word_cnts;
|
|
|
}
|
|
|
|
|
|
-/* */
|
|
|
-/* Description: */
|
|
|
-/* Execute E-Fuse read byte operation. */
|
|
|
-/* Referred from SD1 Richard. */
|
|
|
-/* */
|
|
|
-/* Assumption: */
|
|
|
-/* 1. Boot from E-Fuse and successfully auto-load. */
|
|
|
-/* 2. PASSIVE_LEVEL (USB interface) */
|
|
|
-/* */
|
|
|
-/* Created by Roger, 2008.10.21. */
|
|
|
-/* */
|
|
|
+/*
|
|
|
+ * Description:
|
|
|
+ * Execute E-Fuse read byte operation.
|
|
|
+ * Referred from SD1 Richard.
|
|
|
+ * Assumption:
|
|
|
+ * 1. Boot from E-Fuse and successfully auto-load.
|
|
|
+ * 2. PASSIVE_LEVEL (USB interface)
|
|
|
+ * Created by Roger, 2008.10.21.
|
|
|
+ */
|
|
|
void
|
|
|
ReadEFuseByte(
|
|
|
struct adapter *Adapter,
|
|
@@ -210,23 +208,21 @@ ReadEFuseByte(
|
|
|
*pbuf = (u8)(value32 & 0xff);
|
|
|
}
|
|
|
|
|
|
-/* */
|
|
|
-/* Description: */
|
|
|
-/* 1. Execute E-Fuse read byte operation according as map offset and */
|
|
|
-/* save to E-Fuse table. */
|
|
|
-/* 2. Referred from SD1 Richard. */
|
|
|
-/* */
|
|
|
-/* Assumption: */
|
|
|
-/* 1. Boot from E-Fuse and successfully auto-load. */
|
|
|
-/* 2. PASSIVE_LEVEL (USB interface) */
|
|
|
-/* */
|
|
|
-/* Created by Roger, 2008.10.21. */
|
|
|
-/* */
|
|
|
-/* 2008/12/12 MH 1. Reorganize code flow and reserve bytes. and add description. */
|
|
|
-/* 2. Add efuse utilization collect. */
|
|
|
-/* 2008/12/22 MH Read Efuse must check if we write section 1 data again!!! Sec1 */
|
|
|
-/* write addr must be after sec5. */
|
|
|
-/* */
|
|
|
+/* Description:
|
|
|
+ * 1. Execute E-Fuse read byte operation according as map offset and
|
|
|
+ * save to E-Fuse table.
|
|
|
+ * 2. Referred from SD1 Richard.
|
|
|
+ * Assumption:
|
|
|
+ * 1. Boot from E-Fuse and successfully auto-load.
|
|
|
+ * 2. PASSIVE_LEVEL (USB interface)
|
|
|
+ * Created by Roger, 2008.10.21.
|
|
|
+ * 2008/12/12 MH
|
|
|
+ * 1. Reorganize code flow and reserve bytes. and add description.
|
|
|
+ * 2. Add efuse utilization collect.
|
|
|
+ * 2008/12/22 MH
|
|
|
+ * Read Efuse must check if we write section 1 data again!!!
|
|
|
+ * Sec1 write addr must be after sec5.
|
|
|
+ */
|
|
|
|
|
|
static void efuse_ReadEFuse(struct adapter *Adapter, u8 efuseType, u16 _offset, u16 _size_byte, u8 *pbuf, bool pseudo)
|
|
|
{
|