summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/stoneyridge
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-10-30 21:31:04 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-11-04 10:31:37 +0000
commit533fc4dfb155bb45e8da279e1b85b676e3f6c58c (patch)
tree8c1e12c7ae80db431caffabc0bb4de042624496c /src/soc/amd/stoneyridge
parent7d6b4e3ae5729b48d8a4bf68087c5587093811f2 (diff)
downloadcoreboot-533fc4dfb155bb45e8da279e1b85b676e3f6c58c.tar.gz
coreboot-533fc4dfb155bb45e8da279e1b85b676e3f6c58c.tar.bz2
coreboot-533fc4dfb155bb45e8da279e1b85b676e3f6c58c.zip
amd/i2c: Remove the weak function
BUG=b:140165023 Change-Id: Ieedd6c9f3abeed9839892e5d07127862cd47d57f Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58771 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r--src/soc/amd/stoneyridge/i2c.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/i2c.c b/src/soc/amd/stoneyridge/i2c.c
index 6a6d7760fcc9..e589b04f78b7 100644
--- a/src/soc/amd/stoneyridge/i2c.c
+++ b/src/soc/amd/stoneyridge/i2c.c
@@ -5,6 +5,7 @@
#include <soc/iomap.h>
#include <soc/i2c.h>
#include "chip.h"
+#include <drivers/i2c/designware/dw_i2c.h>
static const struct soc_i2c_ctrlr_info i2c_ctrlr[] = {
{ I2C_MASTER_MODE, APU_I2C0_BASE, "I2CA" },
@@ -26,3 +27,8 @@ const struct dw_i2c_bus_config *soc_get_i2c_bus_config(size_t *num_buses)
*num_buses = ARRAY_SIZE(config->i2c);
return config->i2c;
}
+
+void soc_i2c_misc_init(unsigned int bus, const struct dw_i2c_bus_config *cfg)
+{
+ /* Do nothing. */
+}