soc/intel/xeon_sp: Drop uncore_fill_ssdt
[coreboot2.git] / util / lint / lint-stable-024-kconfig-no-subsystem
blob9a532e8c5ef8e3f188c60c9a840d68dc747a979a
1 #!/usr/bin/env sh
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # DESCR: Check that no board's Kconfig sets SUBSYSTEM_(VENDOR|DEVICE)_ID
6 LC_ALL=C export LC_ALL
7 FAIL=0
9 for i in src/mainboard/*/* src/mainboard/*/*/variants/*; do
10 if [ -r $i/Kconfig ]; then
11 if grep -Eq "^\s*config\s+SUBSYSTEM_(VENDOR|DEVICE)_ID\>" $i/Kconfig; then
12 echo "$i: Mainboard sets SUBSYSTEM_*_ID. Set 'subsystemid' in devicetree instead!"
13 FAIL=1
16 done
18 exit $FAIL