From 28fa297901ffd158631cfc9f562f38119eff628e Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 8 Dec 2021 13:19:41 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59880 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Martin Roth --- src/mainboard/google/auron/Kconfig | 3 +++ src/mainboard/google/beltino/Kconfig | 4 ++++ src/mainboard/google/brya/Kconfig | 3 +++ src/mainboard/google/butterfly/Kconfig | 3 +++ src/mainboard/google/cyan/Kconfig | 4 ++++ src/mainboard/google/dedede/Kconfig | 4 ++++ src/mainboard/google/deltaur/Kconfig | 4 ++++ src/mainboard/google/drallion/Kconfig | 3 +++ src/mainboard/google/eve/Kconfig | 3 +++ src/mainboard/google/fizz/Kconfig | 3 +++ src/mainboard/google/glados/Kconfig | 4 ++++ src/mainboard/google/guybrush/Kconfig | 3 +++ src/mainboard/google/hatch/Kconfig | 2 ++ src/mainboard/google/jecht/Kconfig | 4 ++++ src/mainboard/google/kahlee/Kconfig | 3 +++ src/mainboard/google/link/Kconfig | 3 +++ src/mainboard/google/octopus/Kconfig | 3 +++ src/mainboard/google/poppy/Kconfig | 3 +++ src/mainboard/google/rambi/Kconfig | 3 +++ src/mainboard/google/reef/Kconfig | 3 +++ src/mainboard/google/sarien/Kconfig | 3 +++ src/mainboard/google/slippy/Kconfig | 4 ++++ src/mainboard/google/stout/Kconfig | 3 +++ src/mainboard/google/volteer/Kconfig | 4 ++++ src/mainboard/google/zork/Kconfig | 3 +++ 25 files changed, 82 insertions(+) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/auron/Kconfig b/src/mainboard/google/auron/Kconfig index a824b14082..db52706386 100644 --- a/src/mainboard/google/auron/Kconfig +++ b/src/mainboard/google/auron/Kconfig @@ -1,4 +1,7 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_AURON def_bool n select BOARD_ROMSIZE_KB_8192 diff --git a/src/mainboard/google/beltino/Kconfig b/src/mainboard/google/beltino/Kconfig index 74caad259f..15cc2c274c 100644 --- a/src/mainboard/google/beltino/Kconfig +++ b/src/mainboard/google/beltino/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_BELTINO def_bool n select BOARD_ROMSIZE_KB_8192 diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index 1a9f5cc7b6..cc2a882446 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -1,3 +1,6 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BRYA_COMMON def_bool n select ALDERLAKE_A0_CONFIGURE_PMC_DESCRIPTOR diff --git a/src/mainboard/google/butterfly/Kconfig b/src/mainboard/google/butterfly/Kconfig index f8897ac471..ebb5233d81 100644 --- a/src/mainboard/google/butterfly/Kconfig +++ b/src/mainboard/google/butterfly/Kconfig @@ -1,5 +1,8 @@ if BOARD_GOOGLE_BUTTERFLY +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/google/cyan/Kconfig b/src/mainboard/google/cyan/Kconfig index c3032668cf..19627d0870 100644 --- a/src/mainboard/google/cyan/Kconfig +++ b/src/mainboard/google/cyan/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_CYAN def_bool n select BOARD_ROMSIZE_KB_8192 diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig index 458dfc7f43..61cb034028 100644 --- a/src/mainboard/google/dedede/Kconfig +++ b/src/mainboard/google/dedede/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_DEDEDE def_bool n select BOARD_ROMSIZE_KB_16384 if !BOARD_ROMSIZE_KB_32768 diff --git a/src/mainboard/google/deltaur/Kconfig b/src/mainboard/google/deltaur/Kconfig index 8a5cf3c8f4..bd28c4e8a8 100644 --- a/src/mainboard/google/deltaur/Kconfig +++ b/src/mainboard/google/deltaur/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_DELTAUR def_bool n select BOARD_ROMSIZE_KB_32768 diff --git a/src/mainboard/google/drallion/Kconfig b/src/mainboard/google/drallion/Kconfig index b0b0a5c99f..3c2f4842d7 100644 --- a/src/mainboard/google/drallion/Kconfig +++ b/src/mainboard/google/drallion/Kconfig @@ -1,4 +1,7 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_DRALLION def_bool n select BOARD_ROMSIZE_KB_32768 diff --git a/src/mainboard/google/eve/Kconfig b/src/mainboard/google/eve/Kconfig index 5e1b2f7ea5..ec861853a5 100644 --- a/src/mainboard/google/eve/Kconfig +++ b/src/mainboard/google/eve/Kconfig @@ -1,5 +1,8 @@ if BOARD_GOOGLE_EVE +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/google/fizz/Kconfig b/src/mainboard/google/fizz/Kconfig index cf5dd19a16..3abb1a63f8 100644 --- a/src/mainboard/google/fizz/Kconfig +++ b/src/mainboard/google/fizz/Kconfig @@ -1,4 +1,7 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_FIZZ def_bool n select BOARD_ROMSIZE_KB_16384 diff --git a/src/mainboard/google/glados/Kconfig b/src/mainboard/google/glados/Kconfig index 8ed327e9f7..a73b4b2abd 100644 --- a/src/mainboard/google/glados/Kconfig +++ b/src/mainboard/google/glados/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_GLADOS def_bool n select BOARD_ROMSIZE_KB_16384 diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig index ded66ab0a6..bc9d8326ba 100644 --- a/src/mainboard/google/guybrush/Kconfig +++ b/src/mainboard/google/guybrush/Kconfig @@ -1,5 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-or-later +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_GUYBRUSH def_bool n diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig index eb2a4449bd..d98882bd0b 100644 --- a/src/mainboard/google/hatch/Kconfig +++ b/src/mainboard/google/hatch/Kconfig @@ -1,3 +1,5 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y config BOARD_GOOGLE_HATCH_COMMON def_bool n diff --git a/src/mainboard/google/jecht/Kconfig b/src/mainboard/google/jecht/Kconfig index 836cbdf4e9..c05cb62f1e 100644 --- a/src/mainboard/google/jecht/Kconfig +++ b/src/mainboard/google/jecht/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_JECHT def_bool n select BOARD_ROMSIZE_KB_8192 diff --git a/src/mainboard/google/kahlee/Kconfig b/src/mainboard/google/kahlee/Kconfig index c82a20e18c..12b62476fd 100644 --- a/src/mainboard/google/kahlee/Kconfig +++ b/src/mainboard/google/kahlee/Kconfig @@ -1,5 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-only +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_KAHLEE bool select SOC_AMD_STONEYRIDGE diff --git a/src/mainboard/google/link/Kconfig b/src/mainboard/google/link/Kconfig index e08ced97e2..ba38cb78fd 100644 --- a/src/mainboard/google/link/Kconfig +++ b/src/mainboard/google/link/Kconfig @@ -1,5 +1,8 @@ if BOARD_GOOGLE_LINK +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/google/octopus/Kconfig b/src/mainboard/google/octopus/Kconfig index 496784fc44..9a677bcbdd 100644 --- a/src/mainboard/google/octopus/Kconfig +++ b/src/mainboard/google/octopus/Kconfig @@ -1,4 +1,7 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_OCTOPUS def_bool n select BOARD_ROMSIZE_KB_16384 diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig index 87f39339ab..4a1249ab72 100644 --- a/src/mainboard/google/poppy/Kconfig +++ b/src/mainboard/google/poppy/Kconfig @@ -1,4 +1,7 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_POPPY def_bool n select BOARD_ROMSIZE_KB_16384 diff --git a/src/mainboard/google/rambi/Kconfig b/src/mainboard/google/rambi/Kconfig index d513672d62..6b83bf9ddf 100644 --- a/src/mainboard/google/rambi/Kconfig +++ b/src/mainboard/google/rambi/Kconfig @@ -1,4 +1,7 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_RAMBI def_bool n select BOARD_ROMSIZE_KB_8192 diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig index b0d0508c4a..fce9c3185b 100644 --- a/src/mainboard/google/reef/Kconfig +++ b/src/mainboard/google/reef/Kconfig @@ -1,4 +1,7 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_REEF def_bool n select BOARD_ROMSIZE_KB_16384 diff --git a/src/mainboard/google/sarien/Kconfig b/src/mainboard/google/sarien/Kconfig index d58f64d040..6aaa7fd132 100644 --- a/src/mainboard/google/sarien/Kconfig +++ b/src/mainboard/google/sarien/Kconfig @@ -1,3 +1,6 @@ +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_SARIEN def_bool n select BOARD_ROMSIZE_KB_32768 diff --git a/src/mainboard/google/slippy/Kconfig b/src/mainboard/google/slippy/Kconfig index 0148093a9a..fb8ecffba2 100644 --- a/src/mainboard/google/slippy/Kconfig +++ b/src/mainboard/google/slippy/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_SLIPPY def_bool n select BOARD_ROMSIZE_KB_8192 diff --git a/src/mainboard/google/stout/Kconfig b/src/mainboard/google/stout/Kconfig index d26d5b94a6..b2cd2956b3 100644 --- a/src/mainboard/google/stout/Kconfig +++ b/src/mainboard/google/stout/Kconfig @@ -1,5 +1,8 @@ if BOARD_GOOGLE_STOUT +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/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig index c4d8e88692..681192636c 100644 --- a/src/mainboard/google/volteer/Kconfig +++ b/src/mainboard/google/volteer/Kconfig @@ -1,3 +1,7 @@ + +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_VOLTEER def_bool n select BOARD_ROMSIZE_KB_32768 diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig index c9db2f4892..ac8a58a62f 100644 --- a/src/mainboard/google/zork/Kconfig +++ b/src/mainboard/google/zork/Kconfig @@ -1,5 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-or-later +config IGNORE_IASL_MISSING_DEPENDENCY + def_bool y + config BOARD_GOOGLE_BASEBOARD_TREMBYLE def_bool n -- cgit v1.2.3