[PATCH 03/11] i2c: desigware: Add an alias for Intel Apollo Lake
Simon Glass
sjg at chromium.org
Thu Jan 21 21:57:08 CET 2021
Add an alias so that this driver can be used in TPL on coral.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/i2c/designware_i2c_pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/i2c/designware_i2c_pci.c b/drivers/i2c/designware_i2c_pci.c
index ec0cdf62207..9e387737b6e 100644
--- a/drivers/i2c/designware_i2c_pci.c
+++ b/drivers/i2c/designware_i2c_pci.c
@@ -192,6 +192,8 @@ static const struct udevice_id designware_i2c_pci_ids[] = {
{ }
};
+DM_DRIVER_ALIAS(i2c_designware_pci, intel_apl_i2c)
+
U_BOOT_DRIVER(i2c_designware_pci) = {
.name = "i2c_designware_pci",
.id = UCLASS_I2C,
--
2.30.0.280.ga3ce27912f-goog
More information about the U-Boot
mailing list