mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 05:34:30 +08: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
@ -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 New Issue
Block a user