Line 118:
Line 118:
| Writes a consoleType (2 = retail/test, 3 and 4 = probably debug) in buffer_io.
| Writes a consoleType (2 = retail/test, 3 and 4 = probably debug) in buffer_io.
|-
|-
+
|}
+
+
=== bspMethodGetHardwareVersion ===
+
Gets the hardware version of the system. The hardware version is read from the [[Hardware/Latte_registers#LT_CHIPREVID|CHIPREVID]] registers and the boardType in the [[Hardware/SEEPROM|SEEPROM]].
+
+
The higher 16-bits of the hardware version is the chip revision while the lower 16-bits the boardType.
+
==== Chip Revisions ====
+
{| class="wikitable sortable"
+
! Value
+
! Name
+
|-
+
| 0x2110
+
| LATTE_A11
+
|-
+
| 0x2120
+
| LATTE_A12
+
|-
+
| 0x2210
+
| LATTE_A2X
+
|-
+
| 0x2310
+
| LATTE_A3X
+
|-
+
| 0x2410
+
| LATTE_A4X
+
|-
+
| 0x2510
+
| LATTE_A5X
+
|-
+
| 0x2610
+
| LATTE_B1X
+
|-
+
|}
+
+
==== Board Types ====
+
{| class="wikitable sortable"
+
! Value
+
! Name
+
|-
+
| 0x0010
+
| EV
+
|-
+
| 0x0011
+
| EV_Y
+
|-
+
| 0x0020
+
| CT
+
|-
+
| 0x0021
+
| ID
+
|-
+
| 0x0028
+
| CF
+
|-
+
| 0x0029
+
| IH
|}
|}