summaryrefslogtreecommitdiff
path: root/boot/vbe_request.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-22 19:33:53 +0300
committerTom Rini <trini@konsulko.com>2023-03-03 01:45:58 +0300
commit1d46753395316cebff1dac810577556a7d8f4f25 (patch)
tree7f7108a1f3b026a288d2e23344e1d70e8e9ecfb9 /boot/vbe_request.c
parentda900e527ba30f05ff3a71555883de6e11b71e04 (diff)
downloadu-boot-1d46753395316cebff1dac810577556a7d8f4f25.tar.xz
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>
Diffstat (limited to 'boot/vbe_request.c')
-rw-r--r--boot/vbe_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/vbe_request.c b/boot/vbe_request.c
index 45f1d2b7e1..312edfa2bd 100644
--- a/boot/vbe_request.c
+++ b/boot/vbe_request.c
@@ -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)) {