x86: Enable UPL handoff for SPL
authorSimon Glass <sjg@chromium.org>
Sat, 11 Jan 2025 00:00:22 +0000 (17:00 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 23:08:23 +0000 (17:08 -0600)
Add the GD_FLG_UPL so that a UPL-handoff is created.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/spl.c

index aad7485..7a03350 100644 (file)
@@ -298,6 +298,9 @@ void spl_board_init(void)
        if (IS_ENABLED(CONFIG_QEMU))
                qemu_chipset_init();
 
+       if (CONFIG_IS_ENABLED(UPL_OUT))
+               gd->flags |= GD_FLG_UPL;
+
        if (CONFIG_IS_ENABLED(VIDEO)) {
                struct udevice *dev;
                int ret;