Commit 8c94b0a
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 <Josh_Tsai@compal.com>
(cherry picked from commit ba94517)1 parent 0f72063 commit 8c94b0a
2 files changed
Lines changed: 14 additions & 4 deletions
| 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 | |
|---|---|---|---|
| |||
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