Commit f5cf9a1
committed
--boardid: Print all available board IDs
Using a native host command to get the ID from the EC
instead of having the sotware measure ADC and evaluate the host command.
This is better because the ADC values represent different board IDs on
different platforms (Microchip vs Nuvoton based ECs)
> sudo framework_tool --boardid
Mainboard Board ID: Ok(Some(4))
PowerButton Board ID: Err(Response(InvalidResponse))
Touchpad Board ID: Err(Response(InvalidResponse))
AudioBoard Board ID: Err(Response(InvalidResponse))
dGPU0 Board ID: Err(Response(InvalidResponse))
dGPU1 Board ID: Err(Response(InvalidResponse))
```
Signed-off-by: Daniel Schaefer <[email protected]>1 parent 97c5cab commit f5cf9a1
3 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
276 | 280 | | |
277 | 281 | | |
278 | 282 | | |
| |||
472 | 476 | | |
473 | 477 | | |
474 | 478 | | |
| 479 | + | |
475 | 480 | | |
476 | 481 | | |
477 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| 196 | + | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
| |||
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
| 284 | + | |
282 | 285 | | |
283 | 286 | | |
284 | 287 | | |
| |||
1487 | 1490 | | |
1488 | 1491 | | |
1489 | 1492 | | |
| 1493 | + | |
| 1494 | + | |
1490 | 1495 | | |
1491 | 1496 | | |
1492 | 1497 | | |
| |||
1850 | 1855 | | |
1851 | 1856 | | |
1852 | 1857 | | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
1853 | 1868 | | |
1854 | 1869 | | |
1855 | 1870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
511 | 512 | | |
512 | 513 | | |
513 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
514 | 518 | | |
515 | 519 | | |
516 | 520 | | |
| |||
0 commit comments