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/intel | |
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/intel')
-rw-r--r-- | src/mainboard/intel/adlrvp/Kconfig | 4 | ||||
-rw-r--r-- | src/mainboard/intel/baskingridge/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/dcp847ske/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/dg41wv/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/dg43gt/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/emeraldlake2/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/glkrvp/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/jasperlake_rvp/Kconfig | 4 | ||||
-rw-r--r-- | src/mainboard/intel/kblrvp/Kconfig | 4 | ||||
-rw-r--r-- | src/mainboard/intel/kunimitsu/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/shadowmountain/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/strago/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/intel/tglrvp/Kconfig | 3 |
13 files changed, 42 insertions, 0 deletions
diff --git a/src/mainboard/intel/adlrvp/Kconfig b/src/mainboard/intel/adlrvp/Kconfig index e5f4ea4ef5..dfc63ef868 100644 --- a/src/mainboard/intel/adlrvp/Kconfig +++ b/src/mainboard/intel/adlrvp/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_INTEL_ADLRVP_COMMON def_bool n select ALDERLAKE_A0_CONFIGURE_PMC_DESCRIPTOR diff --git a/src/mainboard/intel/baskingridge/Kconfig b/src/mainboard/intel/baskingridge/Kconfig index 6d7bc8cf93..a22c33927b 100644 --- a/src/mainboard/intel/baskingridge/Kconfig +++ b/src/mainboard/intel/baskingridge/Kconfig @@ -1,5 +1,8 @@ if BOARD_INTEL_BASKING_RIDGE +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select NORTHBRIDGE_INTEL_HASWELL diff --git a/src/mainboard/intel/dcp847ske/Kconfig b/src/mainboard/intel/dcp847ske/Kconfig index ebc172b6b0..c5e5afde28 100644 --- a/src/mainboard/intel/dcp847ske/Kconfig +++ b/src/mainboard/intel/dcp847ske/Kconfig @@ -1,5 +1,8 @@ if BOARD_INTEL_DCP847SKE +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/intel/dg41wv/Kconfig b/src/mainboard/intel/dg41wv/Kconfig index bb201bc76d..8c5a5d6111 100644 --- a/src/mainboard/intel/dg41wv/Kconfig +++ b/src/mainboard/intel/dg41wv/Kconfig @@ -2,6 +2,9 @@ if BOARD_INTEL_DG41WV +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select CPU_INTEL_SOCKET_LGA775 diff --git a/src/mainboard/intel/dg43gt/Kconfig b/src/mainboard/intel/dg43gt/Kconfig index c3c853cdeb..55b5cd08f0 100644 --- a/src/mainboard/intel/dg43gt/Kconfig +++ b/src/mainboard/intel/dg43gt/Kconfig @@ -2,6 +2,9 @@ if BOARD_INTEL_DG43GT +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select CPU_INTEL_SOCKET_LGA775 diff --git a/src/mainboard/intel/emeraldlake2/Kconfig b/src/mainboard/intel/emeraldlake2/Kconfig index 86fe98a803..0220d73c22 100644 --- a/src/mainboard/intel/emeraldlake2/Kconfig +++ b/src/mainboard/intel/emeraldlake2/Kconfig @@ -1,5 +1,8 @@ if BOARD_INTEL_EMERALDLAKE2 +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select NORTHBRIDGE_INTEL_SANDYBRIDGE diff --git a/src/mainboard/intel/glkrvp/Kconfig b/src/mainboard/intel/glkrvp/Kconfig index b5e61d926e..0005de3063 100644 --- a/src/mainboard/intel/glkrvp/Kconfig +++ b/src/mainboard/intel/glkrvp/Kconfig @@ -1,4 +1,7 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_INTEL_BASEBOARD_GLKRVP def_bool n select SOC_INTEL_GEMINILAKE diff --git a/src/mainboard/intel/jasperlake_rvp/Kconfig b/src/mainboard/intel/jasperlake_rvp/Kconfig index 2d72f95077..60cb82402c 100644 --- a/src/mainboard/intel/jasperlake_rvp/Kconfig +++ b/src/mainboard/intel/jasperlake_rvp/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_INTEL_JASPERLAKE_RVP_COMMON def_bool n select BOARD_ROMSIZE_KB_16384 diff --git a/src/mainboard/intel/kblrvp/Kconfig b/src/mainboard/intel/kblrvp/Kconfig index 6b60ac46ea..69f49bf2b4 100644 --- a/src/mainboard/intel/kblrvp/Kconfig +++ b/src/mainboard/intel/kblrvp/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_INTEL_KBLRVP_COMMON def_bool n select BOARD_ROMSIZE_KB_16384 diff --git a/src/mainboard/intel/kunimitsu/Kconfig b/src/mainboard/intel/kunimitsu/Kconfig index 22fffb0203..dc456b6858 100644 --- a/src/mainboard/intel/kunimitsu/Kconfig +++ b/src/mainboard/intel/kunimitsu/Kconfig @@ -1,5 +1,8 @@ if BOARD_INTEL_KUNIMITSU +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_16384 diff --git a/src/mainboard/intel/shadowmountain/Kconfig b/src/mainboard/intel/shadowmountain/Kconfig index 9294857f0c..f6d8a581ea 100644 --- a/src/mainboard/intel/shadowmountain/Kconfig +++ b/src/mainboard/intel/shadowmountain/Kconfig @@ -1,5 +1,8 @@ if BOARD_INTEL_SHADOWMOUNTAIN +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_32768 diff --git a/src/mainboard/intel/strago/Kconfig b/src/mainboard/intel/strago/Kconfig index 64d5dfc842..725ee9f0e2 100644 --- a/src/mainboard/intel/strago/Kconfig +++ b/src/mainboard/intel/strago/Kconfig @@ -1,5 +1,8 @@ if BOARD_INTEL_STRAGO +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/intel/tglrvp/Kconfig b/src/mainboard/intel/tglrvp/Kconfig index 2c4c48a438..9e63f2c09e 100644 --- a/src/mainboard/intel/tglrvp/Kconfig +++ b/src/mainboard/intel/tglrvp/Kconfig @@ -1,5 +1,8 @@ if BOARD_INTEL_TGLRVP_UP3 || BOARD_INTEL_TGLRVP_UP4 +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_32768 |