summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-10-14 20:59:30 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-10-15 19:18:47 +0000
commit297862561e478f1702e56762bcdfdb7d0d7509e2 (patch)
tree1a425c69a3e9daa6c0ce6730da6fdd48e906fa1c /src/mainboard/google
parentc2cee06b4efb8992e625ca4554df17c7ef457930 (diff)
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 <felix-coreboot@felixheld.de> Change-Id: Ie8d6a438f76cd33929f5070f9ec6b2f280f471a0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58335 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/kahlee/variants/treeya/audio.c2
1 files changed, 1 insertions, 1 deletions
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)