mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
Correct SPL use of DM_RNG
This converts 1 usage of this option to the non-SPL form, since there is no SPL_DM_RNG defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
da900e527b
commit
1d46753395
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ static int handle_random_req(ofnode node, int default_size,
|
|||
u32 size;
|
||||
int ret;
|
||||
|
||||
if (!CONFIG_IS_ENABLED(DM_RNG))
|
||||
if (!IS_ENABLED(CONFIG_DM_RNG))
|
||||
return -ENOTSUPP;
|
||||
|
||||
if (ofnode_read_u32(node, "vbe,size", &size)) {
|
||||
|
|
Loading…
Reference in a new issue