util/lint: Update license header text for SPDX headers.
commite348eba64198ec3c57ee1fb32a6f5931737d3a4b
authorMartin Roth <martin@coreboot.org>
Tue, 24 Sep 2019 00:14:34 +0000 (23 18:14 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 2 Jan 2020 14:48:48 +0000 (2 14:48 +0000)
tree185797ecfed0114d16177212884aabf666fbe25d
parentff081888394489a99b1cce87a2ca6ab989c8500f
util/lint: Update license header text for SPDX headers.

In preparation to update to SPDX license headers, add identifiers
for the licenses seen in the coreboot project and create a command
line parameter allowing only SPDX license identifiers to be detected.

Here are example locations of these licenses:
Apache-2.0 - src/soc/sifive
BSD-3-Clause - Throughout coreboot & libpayload source
GPL-2.0-only - Throughout coreboot source
GPL-2.0-or-later - Throughout coreboot source
GPL-3.0-only - util/amdtools
GPL-3.0-or-later - src/lib/[gcov/libgcov/gnat]
ISC - src/lib/ubsan.c, soc/qualcomm/ipq806x/include/soc/gsbi.h, others
MIT - soc/nvidia/tegra210/mipi_dsi.c, files in mainboard/cavium/
X11 - include/device/drm_dp_helper.h, drivers/aspeed/common/ast_tables.h

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I07a7ca408ac8563e03e189d05ef7729dfb6fc24e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36175
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
util/lint/lint-000-license-headers