]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
i2c: desigware: Add an alias for Intel Apollo Lake
authorSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2021 20:57:08 +0000 (13:57 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
Add an alias so that this driver can be used in TPL on coral.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/designware_i2c_pci.c

index ec0cdf622076e84c11b9db7ee295ffc355963240..9e387737b6ec9a7355f42f6d655b2d8e710671d7 100644 (file)
@@ -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,