diff --git a/scripts/ci/check_compliance.py b/scripts/ci/check_compliance.py index 5619028e43d..661f3ce6f1d 100755 --- a/scripts/ci/check_compliance.py +++ b/scripts/ci/check_compliance.py @@ -704,6 +704,8 @@ class KconfigCheck(ComplianceTest): disallowed_symbols = { "PINCTRL": "Drivers requiring PINCTRL must SELECT it instead.", + "BOARD_EARLY_INIT_HOOK": "Boards requiring hooks must SELECT them instead.", + "BOARD_LATE_INIT_HOOK": "Boards requiring hooks must SELECT them instead.", } disallowed_regex = "(" + "|".join(disallowed_symbols.keys()) + ")$"