summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-01-10 17:00:22 -0700
committerTom Rini <[email protected]>2025-01-22 17:08:23 -0600
commit4339a82a4908b5905f70ea8f8d5cde7455fefb92 (patch)
treeb7f230616dcc4499ca604dfb533dbb162aeb2616
parent9d5072bb1d965b0077ff0a1f73adcc5b5e033099 (diff)
x86: Enable UPL handoff for SPL
Add the GD_FLG_UPL so that a UPL-handoff is created. Signed-off-by: Simon Glass <[email protected]>
-rw-r--r--arch/x86/lib/spl.c3
1 files changed, 3 insertions, 0 deletions
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;