diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-31 19:52:14 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-31 00:25:41 +0300 |
commit | 3039fc7e964c75aba700538881b8b107c6e8792b (patch) | |
tree | f78e10f8444fb033876758cbc711080552aa1535 /drivers | |
parent | 5372fc772ec0004297c080a0bd53f1871bd6b93a (diff) | |
download | u-boot-3039fc7e964c75aba700538881b8b107c6e8792b.tar.xz |
tpm: cr50: Rename driver to work with of-platdata
Update the driver name to match the compatible string, so it can work
with of-platdata.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tpm/cr50_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tpm/cr50_i2c.c b/drivers/tpm/cr50_i2c.c index 8b79240963..b103a6fdc3 100644 --- a/drivers/tpm/cr50_i2c.c +++ b/drivers/tpm/cr50_i2c.c @@ -742,8 +742,8 @@ static const struct udevice_id cr50_i2c_ids[] = { { } }; -U_BOOT_DRIVER(cr50_i2c) = { - .name = "cr50_i2c", +U_BOOT_DRIVER(google_cr50) = { + .name = "google_cr50", .id = UCLASS_TPM, .of_match = cr50_i2c_ids, .ops = &cr50_i2c_ops, |