diff options
author | Aaron Durbin <adurbin@chromium.org> | 2020-08-14 14:48:45 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2020-08-17 17:39:54 +0000 |
commit | 746e598d07091b574036bbcb2d358fa0ebe5f875 (patch) | |
tree | 83d1730d183700bd2f31c1d571fce82cb8065602 /payloads/Kconfig | |
parent | ac8e1062cb33b25ab075a706625fe7cab4ebe304 (diff) |
soc/amd/common: add single function ACPI PM1 GPE helpers
The existing code in common/block/acpi is mixing multiple operations:
saving things to cbmem in common code but then soc code uses that
information, reliant upon soc-specific struct soc_power_reg object,
and only saving/snapshotting ACPI registers very deep in ramstage.
To unwind the above provide some functions that are more targeted:
- Add struct acpi_pm_gpe_state object
- Add acpi_fill_pm_gpe_state()
- Add acpi_pm_gpe_add_events_print_events()
- Add acpi_clear_pm_gpe_status()
BUG=b:159947207
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Change-Id: Ia7afed2861343802b3c78728784f7cfaf6f53f62
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44481
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'payloads/Kconfig')
0 files changed, 0 insertions, 0 deletions