x86: Avoid adding two SPL binaries to the image

At present two separate SPL binaries are included in the ROM. This
affects QEMU which is quite tight with only a 2MB ROM. Adjust the
image description so that space is not wasted when microcode is not
needed.

Series-to: u-boot
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-03-26 14:52:46 -06:00
parent f0669de445
commit 0aabc7b4df

View File

@@ -48,11 +48,17 @@
};
#elif defined(CONFIG_SPL)
u-boot-spl-with-ucode-ptr {
no-expanded;
offset = <CONFIG_X86_OFFSET_SPL>;
};
# ifdef CONFIG_HAVE_MICROCODE
u-boot-dtb-with-ucode2 {
type = "u-boot-dtb-with-ucode";
};
#else
u-boot-spl-dtb {
};
# endif
u-boot {
offset = <CONFIG_X86_OFFSET_U_BOOT>;
};