From 297862561e478f1702e56762bcdfdb7d0d7509e2 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 14 Oct 2021 20:59:30 +0200 Subject: mb/google/kahlee/treeya/audio: use proper I2C base address define I2C_BASE_ADDRESS is the beginning of the MMIO space that contains the I2C controllers MMIO. I2C[ABCD]_BASE_ADDRESS are the base addresses of the 4 I2C controllers, so use I2CA_BASE_ADDRESS instead here. TEST=Timeless build results in identical image for Google/Treeya. Signed-off-by: Felix Held Change-Id: Ie8d6a438f76cd33929f5070f9ec6b2f280f471a0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58335 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/mainboard/google/kahlee/variants/treeya/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/google/kahlee/variants/treeya/audio.c b/src/mainboard/google/kahlee/variants/treeya/audio.c index 8265298fab..1c7a4c483b 100644 --- a/src/mainboard/google/kahlee/variants/treeya/audio.c +++ b/src/mainboard/google/kahlee/variants/treeya/audio.c @@ -23,7 +23,7 @@ void variant_devtree_update(void) printk(BIOS_INFO, "Checking audio codec\n"); return; } - } while (mmio_dev->path.mmio.addr != I2C_BASE_ADDRESS); + } while (mmio_dev->path.mmio.addr != I2CA_BASE_ADDRESS); while ((child = dev_bus_each_child(mmio_dev->link_list, child)) != NULL) { if (child->path.type != DEVICE_PATH_I2C) -- cgit v1.2.3