Commit 5051aeb
fwk: modified the PD code to support one PD chip
Remove the hard code and use the for-loop to update the PD status.
BRANCH=fwk-main
BUG=None
TEST=Marigold four type-c ports are workable
TEST=Marigold right side type-c ports are workable if the PD chip is to 1
TEST=Either support 1 PD chip or 2 PD chips the error recovery feature is workable
TEST=Either support 1 PD chip or 2 PD chips that can display the PD version in the setup menu
Signed-off-by: Josh-Tsai <josh_tsai@compal.com>
(cherry picked from commit bb8e00c)1 parent a2c2bc5 commit 5051aeb
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
154 | 161 | | |
155 | 162 | | |
156 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
| |||
0 commit comments