Commit 93e5a54
fwk: store the ac_boot status in the EC ROM
In the standalone mode, bbram will be cleared if the user removes the
adapter, so the system can not pwoer on via ac attach.
This change stores the ac_boot status in the EC ROM, even if the mainboard
no power , EC still can get the correct status
BRANCH=fwk-main
BUG=https://app.clickup.com/t/86eqmw497
TEST=Enable stanalone operation and power on AC attach, the system can
power on via AC attached without battery
TEST=Disable stanalone operation and power on AC attach, the system can
power on via AC attached without battery
TEST=Disable stanalone operation and power on AC attach, the system can
power on via AC attached with battery
Signed-off-by: Josh Tsai <[email protected]>
(cherry picked from commit ba94517fd560adfdf02ae6b4bd9ef80e34c1be67)1 parent ee0625d commit 93e5a54
File tree
3 files changed
+24
-4
lines changed- zephyr/program/framework
- azalea/src
- lotus/src
- src
3 files changed
+24
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
234 | 244 | | |
235 | 245 | | |
236 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
222 | 232 | | |
223 | 233 | | |
224 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
239 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
0 commit comments