projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5372fc7
)
tpm: cr50: Rename driver to work with of-platdata
author
Simon Glass
<sjg@chromium.org>
Thu, 31 Dec 2020 16:52:14 +0000
(09:52 -0700)
committer
Simon Glass
<sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000
(14:25 -0700)
Update the driver name to match the compatible string, so it can work
with of-platdata.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/tpm/cr50_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/tpm/cr50_i2c.c
b/drivers/tpm/cr50_i2c.c
index 8b792409631761378bdfbf7ad0c500412de0c5a8..b103a6fdc39c44ce57a18d7f7c9e8b0578148489 100644
(file)
--- 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,