coreboot-kgpe-d16/util/lint
Michael Niewöhner e0d749c23b lint: check for misuse of Kconfig SUBSYSTEM_*_ID
Check that nobody misuses the Kconfigs SUBSYSTEM_*_ID. They are meant to
be used for overriding the devicetree subsystem ids locally but shall
not be added to a board's Kconfig. Instead, the devicetree option
`subsystemid` should be used.

Add a linter script for this that finds and warns about such misuse.

Also add a note in the Kconfigs' description.

TEST=CB:45513

Change-Id: I21c021c718154f1396f795a555af47a76d6efe03
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45513
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2020-09-20 17:03:32 +00:00
..
check-style util: Fix up a few comments after the "file is part of the" removal 2020-05-11 17:11:50 +00:00
check_lint_tests lint/check_lint_tests: Fix obsolete paths 2020-03-02 15:05:32 +00:00
checkpatch.pl util/lint: Make usage of IS_ENABLED() an error 2019-06-04 13:16:16 +00:00
checkpatch_json.py lint: convert checkpatch_json.py to python 3 2020-06-18 08:30:47 +00:00
const_structs.checkpatch
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
kconfig_lint util/lint/Kconfig_lint: Update Naked BOOL reference to error 2020-07-27 05:07:51 +00:00
kconfig_lint_README util/lint: Make usage of IS_ENABLED() an error 2019-06-04 13:16:16 +00:00
lint treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-000-license-headers coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
lint-001-no-global-config-in-romstage treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-007-checkpatch util/lint: Add lint and checkpatch coverage for tests/ dir 2020-07-26 21:11:05 +00:00
lint-008-kconfig treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-014-qualified-types treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-extended-007-checkpatch lint/lint-extended-007-checkpatch: Remove obsolete path 2020-08-31 06:40:55 +00:00
lint-extended-015-final-newlines treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-extended-020-signed-off-by util: Use SPDX headers 2020-05-11 19:38:40 +00:00
lint-stable-000-license-headers coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
lint-stable-003-whitespace util/lint: Add lint and checkpatch coverage for tests/ dir 2020-07-26 21:11:05 +00:00
lint-stable-004-style-labels treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-005-board-status util: Use SPDX headers 2020-05-11 19:38:40 +00:00
lint-stable-006-board-name util: Use SPDX headers 2020-05-11 19:38:40 +00:00
lint-stable-008-kconfig treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-009-old-licenses util/lint: Add lint and checkpatch coverage for tests/ dir 2020-07-26 21:11:05 +00:00
lint-stable-010-asm-syntax treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-012-executable-bit util/lint: Add lint and checkpatch coverage for tests/ dir 2020-07-26 21:11:05 +00:00
lint-stable-013-site-local util: Use SPDX headers 2020-05-11 19:38:40 +00:00
lint-stable-016-non-ascii treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-017-configs treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-018-symlinks treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-019-header-files treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-021-coreboot-lowercase treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-022-clang-format treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-023-filenames treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lint-stable-024-kconfig-no-subsystem lint: check for misuse of Kconfig SUBSYSTEM_*_ID 2020-09-20 17:03:32 +00:00
remccoms3.sed
spelling.txt util/lint/spelling.txt: Disable `afe` 2020-03-18 21:39:42 +00:00