diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-05-17 13:22:57 +0200 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2021-05-20 17:10:01 +0000 |
commit | ed1e25de525fe2649bf5af2b448f7b37e34c54f6 (patch) | |
tree | aa3f9f493ba748831c93fafd676388087f3c3d57 /src/mainboard/asus/h61-series/dsdt.asl | |
parent | 9d8a4558e30845ff9ae421c551b4fa51dcfeec93 (diff) | |
download | coreboot-ed1e25de525fe2649bf5af2b448f7b37e34c54f6.tar.xz |
mb/asus/p8h61-m_lx: Transform into variant setup
Handle some differences in the DSDT code using preprocessor.
Tested with BUILD_TIMELESS=1, coreboot.rom for the Asus P8H61-M LX
remains identical when not adding the .config file in it.
Change-Id: I2a02f32dfd9fa9c1adce3baf0d279ea19db5883f
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54375
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/mainboard/asus/h61-series/dsdt.asl')
-rw-r--r-- | src/mainboard/asus/h61-series/dsdt.asl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/asus/h61-series/dsdt.asl b/src/mainboard/asus/h61-series/dsdt.asl index e8e2b3a3e5..539922e181 100644 --- a/src/mainboard/asus/h61-series/dsdt.asl +++ b/src/mainboard/asus/h61-series/dsdt.asl @@ -2,13 +2,19 @@ #include <acpi/acpi.h> +#if CONFIG(BOARD_ASUS_P8H61_M_LX) +#define BOARD_DSDT_REVISION 0x20171231 /* OEM revision */ +#else +#define BOARD_DSDT_REVISION 0x20141018 +#endif + DefinitionBlock( "dsdt.aml", "DSDT", ACPI_DSDT_REV_2, OEM_ID, ACPI_TABLE_CREATOR, - 0x20141018 /* OEM revision */ + BOARD_DSDT_REVISION ) { #include <acpi/dsdt_top.asl> |