summaryrefslogtreecommitdiff
path: root/boot/vbe_request.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-20 18:23:10 -0600
committerTom Rini <trini@konsulko.com>2022-10-31 11:03:18 -0400
commitd2b22ae23196604fda88e1ad9ec9f0e8fd285d07 (patch)
treede0c2bdf2ab67e2f95be3b1194ce1db53fe87f5e /boot/vbe_request.c
parent70b26e4356f9153d2d8195748a0e146c35b0c42e (diff)
downloadu-boot-d2b22ae23196604fda88e1ad9ec9f0e8fd285d07.tar.gz
u-boot-d2b22ae23196604fda88e1ad9ec9f0e8fd285d07.tar.bz2
u-boot-d2b22ae23196604fda88e1ad9ec9f0e8fd285d07.zip
vbe: Support reading the next SPL phase via VBE
Add an SPL loader to obtain the next-phase binary from a FIT provided by the VBE driver. 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 312edfa2bd..45f1d2b7e1 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 (!IS_ENABLED(CONFIG_DM_RNG))
+ if (!CONFIG_IS_ENABLED(DM_RNG))
return -ENOTSUPP;
if (ofnode_read_u32(node, "vbe,size", &size)) {