summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-08-04 20:33:53 -0600
committerMartin L Roth <gaumless@gmail.com>2022-08-11 17:52:38 +0000
commitf7319225e95de40e8fc7a8ce1e5442dd03408cd3 (patch)
tree0e673769509052b7c6f78d70b61c186bfd84a6d5 /src/drivers
parentc0f85e7a181fe836518a970073b4285f30f9c7a9 (diff)
drivers: Add SPDX identifiers to files missing them
This adds SPDX identifiers to the remaining source files in the drivers directory that don't already have them. Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Change-Id: I97f96de857515214069c3b77f3c781f7f0555c6e Reviewed-on: https://review.coreboot.org/c/coreboot/+/66499 Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/i2c/at24rf08c/lenovo.h2
-rw-r--r--src/drivers/i2c/ptn3460/chip.h2
-rw-r--r--src/drivers/intel/gma/edid.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/i2c/at24rf08c/lenovo.h b/src/drivers/i2c/at24rf08c/lenovo.h
index 6824eb6f07..f94b9ee06d 100644
--- a/src/drivers/i2c/at24rf08c/lenovo.h
+++ b/src/drivers/i2c/at24rf08c/lenovo.h
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
const char *lenovo_mainboard_partnumber(void);
diff --git a/src/drivers/i2c/ptn3460/chip.h b/src/drivers/i2c/ptn3460/chip.h
index 8bd6d9e7d1..2bf7e5e783 100644
--- a/src/drivers/i2c/ptn3460/chip.h
+++ b/src/drivers/i2c/ptn3460/chip.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
struct drivers_i2c_ptn3460_config {
};
diff --git a/src/drivers/intel/gma/edid.h b/src/drivers/intel/gma/edid.h
index d8214cf329..90d4c01c66 100644
--- a/src/drivers/intel/gma/edid.h
+++ b/src/drivers/intel/gma/edid.h
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
void intel_gmbus_read_edid(u8 *gmbus_mmio, u8 bus, u8 slave, u8 *edid, u32 edid_size);
void intel_gmbus_stop(u8 *gmbus_mmio);