summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-06-06 10:14:40 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-06-07 18:57:21 +0000
commitf87fa53e4aa26bf30be7312b9cde54cfa04d7114 (patch)
treef035008660b165e21278973048fa2a40a6a5fb00 /src/soc/mediatek
parentcb9591cef0772062561e1281448f5c6bd0910e24 (diff)
soc/mediatek/mt8173/i2c.c: Remove unused macro
Change-Id: I90fbd7ce0e1c6cd15d73cb73dc774df2de56b346 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82932 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/mt8173/i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8173/i2c.c b/src/soc/mediatek/mt8173/i2c.c
index dd4629d909..9cd20cf465 100644
--- a/src/soc/mediatek/mt8173/i2c.c
+++ b/src/soc/mediatek/mt8173/i2c.c
@@ -60,8 +60,6 @@ _Static_assert(ARRAY_SIZE(mtk_i2c_bus_controller) == I2C_BUS_NUMBER,
#define I2CLOG(fmt, arg...)
#endif /* CONFIG_DEBUG_I2C */
-#define I2CERR(fmt, arg...) printk(BIOS_ERR, I2CTAG fmt, ##arg)
-
void mtk_i2c_bus_init(uint8_t bus)
{
uint8_t step_div;