Message ID | 20210121205716.964652-4-sjg@chromium.org |
---|---|
State | Accepted |
Commit | dfb5bfbc208699ae1b5fc8e17f65d862be3b4612 |
Delegated to: | Simon Glass |
Headers | show |
Series | More minor clean-ups and improvements | expand |
Hello Simon, Am 21.01.21 um 21:57 schrieb Simon Glass: > Add an alias so that this driver can be used in TPL on coral. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > drivers/i2c/designware_i2c_pci.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Heiko Schocher <hs@denx.de> bye, Heiko
Hello Simon, Am 21.01.21 um 21:57 schrieb Simon Glass: > Add an alias so that this driver can be used in TPL on coral. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > drivers/i2c/designware_i2c_pci.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Heiko Schocher <hs@denx.de> bye, Heiko
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,
Add an alias so that this driver can be used in TPL on coral. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/i2c/designware_i2c_pci.c | 2 ++ 1 file changed, 2 insertions(+)