aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/generic/cbfs-serial/Kconfig
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/Kconfig
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/Kconfig')
-rw-r--r--src/drivers/generic/cbfs-serial/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/generic/cbfs-serial/Kconfig b/src/drivers/generic/cbfs-serial/Kconfig
new file mode 100644
index 0000000000..209c242dba
--- /dev/null
+++ b/src/drivers/generic/cbfs-serial/Kconfig
@@ -0,0 +1,6 @@
+config DRIVERS_GENERIC_CBFS_SERIAL
+ bool "Serial number in CBFS"
+ default n
+ help
+ Enable this option to read the board serial number from a
+ text file located in CBFS.