Commit e962bdd
fwk: Use the config to distinguish the item in EC_CMD_READ_BOARDID
Use the config to distinguish the item in host command EC_CMD_READ_BOARDID.
The enum name cannot correctly enable the definition.
BRANCH=fwk-main
BUG=Host command EC_CMD_READ_BOARDID get the error return.
TEST=Host command EC_CMD_READ_BOARDID can get mainboard/touchpad/audio
board id on sakura.
TEST=Host command EC_CMD_READ_BOARDID can get mainboard/dgpu0/dgpu1
board id on tulip.
Signed-off-by: LeilaCY-Lin <LeilaCY_Lin@compal.com>
(cherry picked from commit 41db6e99a82ac7841a0c59d2db47abb612ac5002)1 parent 993b916 commit e962bdd
File tree
2 files changed
+7
-5
lines changed- zephyr/program/framework
- include
- src
2 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
| 593 | + | |
594 | 594 | | |
595 | | - | |
| 595 | + | |
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | | - | |
| 122 | + | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
0 commit comments