From: Simon Glass Date: Wed, 22 Feb 2023 16:33:53 +0000 (-0700) Subject: Correct SPL use of DM_RNG X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=1d46753395316cebff1dac810577556a7d8f4f25;p=u-boot.git 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 --- 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)) {