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
check_lint_tests
checkpatch.pl
checkpatch_json.py
const_structs.checkpatch
description.md
kconfig_lint util/lint/Kconfig_lint: Update Naked BOOL reference to error 2020-07-27 05:07:51 +00:00
kconfig_lint_README
lint
lint-000-license-headers coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
lint-001-no-global-config-in-romstage
lint-007-checkpatch
lint-008-kconfig
lint-014-qualified-types
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
lint-extended-020-signed-off-by
lint-stable-000-license-headers coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
lint-stable-003-whitespace
lint-stable-004-style-labels
lint-stable-005-board-status
lint-stable-006-board-name
lint-stable-008-kconfig
lint-stable-009-old-licenses
lint-stable-010-asm-syntax
lint-stable-012-executable-bit
lint-stable-013-site-local
lint-stable-016-non-ascii
lint-stable-017-configs
lint-stable-018-symlinks
lint-stable-019-header-files
lint-stable-021-coreboot-lowercase
lint-stable-022-clang-format
lint-stable-023-filenames
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