summaryrefslogtreecommitdiff
path: root/src/drivers/smbus/Makefile.inc
diff options
context:
space:
mode:
authorHusni Faiz <ahamedhusni73@gmail.com>2022-09-05 15:23:15 +0530
committerMartin L Roth <gaumless@gmail.com>2022-09-16 17:01:17 +0000
commit67300f88cd1e950ca18c4e7bdd770ef18b8c06dd (patch)
tree7f3ede354ef995eba43628e5681d84369f4a958d /src/drivers/smbus/Makefile.inc
parentc5d0761dea84b28cd5993b8775a4559974cc8c04 (diff)
drivers/smbus: add smbus console driver
This patch adds a new smbus console driver and Kconfig options to enable the driver. Change-Id: Ife77fb2c3e1cc77678a4972701317d50624ceb95 Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67339 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/smbus/Makefile.inc')
-rw-r--r--src/drivers/smbus/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/smbus/Makefile.inc b/src/drivers/smbus/Makefile.inc
new file mode 100644
index 0000000000..e14d59c3e3
--- /dev/null
+++ b/src/drivers/smbus/Makefile.inc
@@ -0,0 +1,3 @@
+ifeq ($(CONFIG_CONSOLE_I2C_SMBUS),y)
+all-y += i2c_smbus_console.c
+endif