Add the GD_FLG_UPL so that a UPL-handoff is created.

Signed-off-by: Simon Glass <[email protected]>
---

 arch/x86/lib/spl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index aad748532d0..7a033505101 100644
--- a/arch/x86/lib/spl.c
+++ b/arch/x86/lib/spl.c
@@ -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;
-- 
2.43.0

Reply via email to