diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-05 16:15:02 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-05 16:15:02 -0600 |
commit | 6114b860f5cd77fd5ac299a8d768c056b78a4f1a (patch) | |
tree | 47f46562d94a1d5adf5ca204d91344b725c7fd1f /lib/uuid.c | |
parent | 2f1e76bcfee75b9f99ade63002c05ffaaec86afb (diff) | |
parent | cecb5fbb42c8b3de3d5a7df40bc01d1fdf4731d3 (diff) |
Merge tag 'u-boot-imx-master-20240505' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/20614
- Add SPL variant of DM_RNG so that the DM_RNG can be disabled in SPL if
necessary. This may be necessary due to e.g. size constraints of the SPL.
- dd SPL variant of SPL_FSL_CAAM_RNG so that the SPL_FSL_CAAM_RNG can be
disabled in SPL if necessary. This may be necessary due to e.g. size
constraints of the SPL.
- Differentiate between CAAM and DCP in Kconfig entry.
Diffstat (limited to 'lib/uuid.c')
-rw-r--r-- | lib/uuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uuid.c b/lib/uuid.c index 2d7d99535e7..dfa2320ba26 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -378,7 +378,7 @@ void gen_rand_uuid(unsigned char *uuid_bin) struct udevice *devp; u32 randv = 0; - if (IS_ENABLED(CONFIG_DM_RNG)) { + if (CONFIG_IS_ENABLED(DM_RNG)) { ret = uclass_get_device(UCLASS_RNG, 0, &devp); if (!ret) { ret = dm_rng_read(devp, &randv, sizeof(randv)); |