summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2023-01-18 18:38:21 +0300
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2023-01-20 11:04:56 +0300
commit218a9917d6f0b11c41189ceb649cf04201325daf (patch)
tree0249c0e94da2e4e4c289c57c744e43a954ca965c /drivers
parent53c47c59e638cc118c272235db516bb541dad0ac (diff)
downloadu-boot-218a9917d6f0b11c41189ceb649cf04201325daf.tar.xz
tee: optee: fix a print error on rng probing
If we fail to probe the optee-rng device, we print a wrong message referring to the firmware tpm. Fixes: 476a3d58dfeb ("tee: optee: don't fail probe because of optee-rng") Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tee/optee/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c
index a813a84a4f..88e23d252b 100644
--- a/drivers/tee/optee/core.c
+++ b/drivers/tee/optee/core.c
@@ -850,7 +850,7 @@ static int optee_probe(struct udevice *dev)
ret = device_bind_driver_to_node(dev, "optee-rng", "optee-rng",
dev_ofnode(dev), NULL);
if (ret)
- dev_warn(dev, "ftpm_tee failed to bind: %d\n", ret);
+ dev_warn(dev, "optee-rng failed to bind: %d\n", ret);
}
return 0;