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:
@@ -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>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user