From 9e21b2dbd7e7c6c77f48c317b3d8fe9622867b52 Mon Sep 17 00:00:00 2001 From: jg_poxu Date: Thu, 31 Jan 2019 15:46:03 +0800 Subject: mediatek/mt8183: Support gpio eh and rsel setting for I2C The setting of these registers are only for i2c pin. BUG=b:80501386 BRANCH=none TEST=Boot correctly on Kukui Change-Id: I518ca07645fe55aa55e94e4f98178baa0b74a882 Signed-off-by: jg_poxu Reviewed-on: https://review.coreboot.org/c/30974 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/mediatek/mt8183/include/soc/gpio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/mediatek/mt8183/include') diff --git a/src/soc/mediatek/mt8183/include/soc/gpio.h b/src/soc/mediatek/mt8183/include/soc/gpio.h index c3c8dda26d..5a98953974 100644 --- a/src/soc/mediatek/mt8183/include/soc/gpio.h +++ b/src/soc/mediatek/mt8183/include/soc/gpio.h @@ -616,5 +616,6 @@ struct gpio_regs { check_member(gpio_regs, mode[22].val, 0x460); static struct gpio_regs *const mtk_gpio = (void *)(GPIO_BASE); +void gpio_set_i2c_eh_rsel(void); #endif -- cgit v1.2.3