diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-22 09:33:53 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-02 15:32:26 -0500 |
commit | fe56bc318e0f7258278eb136b01daa81084949cc (patch) | |
tree | c9d6e18ea78678479a405e82f1ff37bad0bbded9 | |
parent | ba126930c80860b8a1c59eec3f257fea3e9134d9 (diff) | |
download | u-boot-fe56bc318e0f7258278eb136b01daa81084949cc.zip u-boot-fe56bc318e0f7258278eb136b01daa81084949cc.tar.gz u-boot-fe56bc318e0f7258278eb136b01daa81084949cc.tar.bz2 |
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>
-rw-r--r-- | boot/vbe_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/vbe_request.c b/boot/vbe_request.c index 45f1d2b..312edfa 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)) { |