summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8173/include
diff options
context:
space:
mode:
authorjun.gao <jun.gao@mediatek.com>2015-12-17 16:59:55 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-03-12 09:03:05 +0100
commitfa2ed276c36095649f782071c7fabece7deeb4de (patch)
tree27cfe89196d3d4ff52fbde59427db808aeba379f /src/soc/mediatek/mt8173/include
parentdac533725c8d2ab7139500cd2d779ddc2d174e49 (diff)
downloadcoreboot-fa2ed276c36095649f782071c7fabece7deeb4de.tar.xz
mediatek/mt8173: Provide I2C bus initialization API
BRANCH=none BUG=none TEST=build pass and boot to oak kernel Change-Id: I8aa9ca0fce804cc1682947b7e184781dd5d437f7 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 8641689e008c58e909606c225dddb81dc6457ae9 Original-Change-Id: I96ef8a36bc70594097e9df964934b7e3eca5d5f9 Original-Signed-off-by: jun.gao <jun.gao@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/319031 Original-Commit-Ready: Yidi Lin <yidi.lin@mediatek.com> Original-Tested-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/13107 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8173/include')
-rw-r--r--src/soc/mediatek/mt8173/include/soc/i2c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8173/include/soc/i2c.h b/src/soc/mediatek/mt8173/include/soc/i2c.h
index 2d8a5db185..5f46e9cad5 100644
--- a/src/soc/mediatek/mt8173/include/soc/i2c.h
+++ b/src/soc/mediatek/mt8173/include/soc/i2c.h
@@ -127,4 +127,6 @@ enum {
I2C_TRANSFER_INVALID_ARGUMENT = 0xA006
};
+void mtk_i2c_bus_init(uint8_t bus);
+
#endif /* SOC_MEDIATEK_MT8173_I2C_H */