From b80535a135d5a63fd6c13c6df5eecb778a00e25b Mon Sep 17 00:00:00 2001 From: Husni Faiz Date: Fri, 9 Sep 2022 17:49:53 +0530 Subject: drivers/smbus: initialize SC16IS7XX I2C to UART converter chip This patch adds the functionality to initialize the sc16is750 i2c to uart converter chip with a 14.7MHz input clock to support 115200 baud rate. Change-Id: Ib31188b8c0f9b0ce9454da984e630eca9101d145 Signed-off-by: Husni Faiz Reviewed-on: https://review.coreboot.org/c/coreboot/+/67342 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Raul Rangel --- src/drivers/smbus/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/drivers/smbus/Makefile.inc') diff --git a/src/drivers/smbus/Makefile.inc b/src/drivers/smbus/Makefile.inc index e14d59c3e3..d478889b66 100644 --- a/src/drivers/smbus/Makefile.inc +++ b/src/drivers/smbus/Makefile.inc @@ -1,3 +1,8 @@ +ifeq ($(CONFIG_SC16IS7XX_INIT),y) +bootblock-y += sc16is7xx_init.c +romstage-y += sc16is7xx_init.c +endif + ifeq ($(CONFIG_CONSOLE_I2C_SMBUS),y) all-y += i2c_smbus_console.c endif -- cgit v1.2.3