1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

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>
This commit is contained in:
Simon Glass
2023-02-05 15:44:19 -07:00
committed by Tom Rini
parent 1677705c93
commit 0b1671bc0f

View File

@@ -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);