diff options
author | Husni Faiz <ahamedhusni73@gmail.com> | 2022-09-09 17:49:53 +0530 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-10-03 16:14:25 +0000 |
commit | b80535a135d5a63fd6c13c6df5eecb778a00e25b (patch) | |
tree | 648c9e4c7889de342d2e8ce1ed21212a565512f6 /src/drivers/smbus/Makefile.inc | |
parent | 22baa3352cc3a92084408671c74bc3767c35ab4c (diff) |
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 <ahamedhusni73@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67342
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/drivers/smbus/Makefile.inc')
-rw-r--r-- | src/drivers/smbus/Makefile.inc | 5 |
1 files changed, 5 insertions, 0 deletions
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 |