diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:44:19 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:40 +0300 |
commit | 0b1671bc0fb2dec87eaf988ff2b8aa2ee443ec05 (patch) | |
tree | 720c3bd94f5256a45328f2a669910d6cdf2a32ac /drivers | |
parent | 1677705c937ec88aea159b443791fa2dcb1af8cd (diff) | |
download | u-boot-0b1671bc0fb2dec87eaf988ff2b8aa2ee443ec05.tar.xz |
Correct SPL use of TPM_RNG
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tpm/tpm-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tpm/tpm-uclass.c b/drivers/tpm/tpm-uclass.c index 5ff0cd3958..b2286f7e7e 100644 --- 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); |