From: Simon Glass Date: Thu, 21 Jan 2021 13:57:08 -0700 Subject: [PATCH 03/11] i2c: desigware: Add an alias for Intel Apollo Lake In-Reply-To: <20210121205716.964652-1-sjg@chromium.org> References: <20210121205716.964652-1-sjg@chromium.org> Message-ID: <20210121205716.964652-4-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add an alias so that this driver can be used in TPL on coral. Signed-off-by: Simon Glass --- 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