diff options
| author | Potin Lai <potin.lai@quantatw.com> | 2022-06-02 14:13:24 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2022-06-02 22:46:52 +0300 |
| commit | 27083c319a11c6ea3d86ea62c1c30a3ca7597a69 (patch) | |
| tree | 0e559838d6921d8dfa21f12220c3058352228bea /meta-openembedded/meta-python/recipes-devtools/python | |
| parent | 6d57a889f28946b7a498d0a9dae8095cfd71ff68 (diff) | |
| download | openbmc-27083c319a11c6ea3d86ea62c1c30a3ca7597a69.tar.xz | |
meta-bletchley: power-ctrl: action handler for each host state
1. add action handler for each host state, avoid action execute in the
wrong host state.
2. add checking for Host in sleep mode
3. add last action record at /tmp/sledX-last-action for identify DFU
and Recovery mode.
```
if (last_action == dfu) && (host_st == Off)
host_st = DFU
if (last_action == recovery) && (host_st == On)
host_st = Recovery
```
Change-Id: I4c9c218fbe3f887c8bfe5cdcb64600261d67e30d
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions
