From 533fc4dfb155bb45e8da279e1b85b676e3f6c58c Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Sat, 30 Oct 2021 21:31:04 +0800 Subject: amd/i2c: Remove the weak function BUG=b:140165023 Change-Id: Ieedd6c9f3abeed9839892e5d07127862cd47d57f Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/58771 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/common/block/i2c/i2c.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/soc/amd/common/block') diff --git a/src/soc/amd/common/block/i2c/i2c.c b/src/soc/amd/common/block/i2c/i2c.c index ff9ec90fd5..d2e0473637 100644 --- a/src/soc/amd/common/block/i2c/i2c.c +++ b/src/soc/amd/common/block/i2c/i2c.c @@ -78,11 +78,6 @@ int dw_i2c_soc_dev_to_bus(const struct device *dev) return -1; } -void __weak soc_i2c_misc_init(unsigned int bus, const struct dw_i2c_bus_config *cfg) -{ - /* Nothing by default. */ -} - static void dw_i2c_soc_init(bool is_early_init) { unsigned int bus; -- cgit v1.2.3