Commit a0a0cbf
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 c1e834b commit a0a0cbf
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 | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
603 | | - | |
| 603 | + | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
124 | | - | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
0 commit comments