x86: apl: Generate required ACPI tables

Add support for generating various ACPI tables for Apollo Lake. Add a few
S3 definitions that are needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2020-09-22 12:45:19 -06:00
committed by Bin Meng
parent 022256b95b
commit da2c1b8fd9
4 changed files with 234 additions and 0 deletions

View File

@@ -28,6 +28,10 @@
#define SLP_TYP_S4 6
#define SLP_TYP_S5 7
/* PM1_STS register */
#define RTC_EN BIT(10)
#define PWRBTN_EN BIT(8)
/* Memory size reserved for S3 resume */
#define S3_RESERVE_SIZE 0x1000