]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Correct SPL use of DM_RNG
authorSimon Glass <sjg@chromium.org>
Wed, 22 Feb 2023 16:33:53 +0000 (09:33 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2023 22:45:58 +0000 (17:45 -0500)
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>
boot/vbe_request.c

index 45f1d2b7e1766dd7c8233d5e425e7a2cd9ca1de5..312edfa2bdb536c466d675f661e5e57186fe5c22 100644 (file)
@@ -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)) {