diff options
Diffstat (limited to 'util/lint/lint-001-no-global-config-in-romstage')
-rwxr-xr-x | util/lint/lint-001-no-global-config-in-romstage | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/util/lint/lint-001-no-global-config-in-romstage b/util/lint/lint-001-no-global-config-in-romstage index 29c9db1067..79293ebfff 100755 --- a/util/lint/lint-001-no-global-config-in-romstage +++ b/util/lint/lint-001-no-global-config-in-romstage @@ -1,15 +1,8 @@ #!/bin/sh # This file is part of the coreboot project. # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# +# SPDX-License-Identifier: GPL-2.0-only + # DESCR: Check that no symbol #defined in any romstage.c is used elsewhere DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t ]\([^\t ]*\)[\t ].*,\1,' | grep -v "(" | sort -u` |