diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-12-08 13:19:41 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2022-01-28 16:34:23 +0000 |
commit | 28fa297901ffd158631cfc9f562f38119eff628e (patch) | |
tree | 4081b995b0f1f02b6d826111129558ff75d37a44 /src/mainboard/asus | |
parent | 5e84a42055cd741d38923dc152745a759ee4587f (diff) |
IASL: Ignore IASL's "Missing dependency" warning
IASL compiler check for usage of _CRS, _DIS, _PRS, and _SRS objects:
1) If _PRS is present, must have _CRS and _SRS
2) If _SRS is present, must have _PRS (_PRS requires _CRS and _SRS)
3) If _DIS is present, must have _SRS (_SRS requires _PRS, _PRS requires _CRS and _SRS)
4) If _SRS is present, probably should have a _DIS (Remark only)
IASL will issue a warning for each missing dependency.
Ignore this warnings for existing ASL code and issue a message when the build is complete.
Change-Id: I28b437194f08232727623009372327fec15215dd
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59880
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r-- | src/mainboard/asus/am1i-a/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/asus/h61-series/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/asus/p5qpl-am/Kconfig | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/asus/am1i-a/Kconfig b/src/mainboard/asus/am1i-a/Kconfig index 20085d1d7f..9d2cb16251 100644 --- a/src/mainboard/asus/am1i-a/Kconfig +++ b/src/mainboard/asus/am1i-a/Kconfig @@ -1,5 +1,8 @@ if BOARD_ASUS_AM1I_A +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_8192 diff --git a/src/mainboard/asus/h61-series/Kconfig b/src/mainboard/asus/h61-series/Kconfig index eeec4e7882..75dfe3c387 100644 --- a/src/mainboard/asus/h61-series/Kconfig +++ b/src/mainboard/asus/h61-series/Kconfig @@ -1,5 +1,8 @@ ## SPDX-License-Identifier: GPL-2.0-only +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_ASUS_H61_SERIES bool select HAVE_ACPI_RESUME diff --git a/src/mainboard/asus/p5qpl-am/Kconfig b/src/mainboard/asus/p5qpl-am/Kconfig index 2359e324d8..100f5918e7 100644 --- a/src/mainboard/asus/p5qpl-am/Kconfig +++ b/src/mainboard/asus/p5qpl-am/Kconfig @@ -2,6 +2,9 @@ if BOARD_ASUS_P5QPL_AM || BOARD_ASUS_P5G41T_M_LX +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select CPU_INTEL_SOCKET_LGA775 |