summaryrefslogtreecommitdiff
path: root/src/drivers/generic/cbfs-serial/Makefile.inc
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@puri.sm>2019-12-23 16:08:37 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-12-26 10:49:03 +0000
commit92b0e8dcae99fea39f167b07063818581a83b1c3 (patch)
treee7586e9768981660263bb546fd04aedd4acb072c /src/drivers/generic/cbfs-serial/Makefile.inc
parentf9ad22d9f7defafd5cccdb8cf40f28f6e9366425 (diff)
drivers/generic/cbfs-serial: Add driver to read serial from CBFS
Add a new driver to support reading a board serial number from a text file in CBFS and injecting into the SMBIOS tables. Allow driver to be selected at the .config level and not require inclusion at the board level. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm> Change-Id: Ieae39f39ab36e5b1f240383b7cf47681d9a311af Reviewed-on: https://review.coreboot.org/c/coreboot/+/37917 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/generic/cbfs-serial/Makefile.inc')
-rw-r--r--src/drivers/generic/cbfs-serial/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/generic/cbfs-serial/Makefile.inc b/src/drivers/generic/cbfs-serial/Makefile.inc
new file mode 100644
index 0000000000..163d439ba9
--- /dev/null
+++ b/src/drivers/generic/cbfs-serial/Makefile.inc
@@ -0,0 +1 @@
+ramstage-$(CONFIG_DRIVERS_GENERIC_CBFS_SERIAL) += cbfs-serial.c