git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1677705
)
Correct SPL use of TPM_RNG
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:44:19 +0000
(15:44 -0700)
committer
Tom Rini
<trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000
(07:41 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_TPM_RNG defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/tpm/tpm-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/tpm/tpm-uclass.c
b/drivers/tpm/tpm-uclass.c
index
5ff0cd3
..
b2286f7
100644
(file)
--- a/
drivers/tpm/tpm-uclass.c
+++ b/
drivers/tpm/tpm-uclass.c
@@
-156,7
+156,7
@@
static int tpm_uclass_post_probe(struct udevice *dev)
const char *drv = TPM_RNG_DRV_NAME;
struct udevice *child;
- if (
CONFIG_IS_ENABLED(
TPM_RNG)) {
+ if (
IS_ENABLED(CONFIG_
TPM_RNG)) {
ret = device_find_first_child_by_uclass(dev, UCLASS_RNG,
&child);