mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
x86: Don't repeat microcode in U-Boot if not needed
At present if SPL sets up the microcode then it is still included in U-Boot as well. This is wasteful as microcode is large. Adjust the logic in the image to prevent this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
624c70b8ae
commit
4f1f507298
@ -63,9 +63,16 @@
|
||||
offset = <CONFIG_X86_OFFSET_U_BOOT>;
|
||||
};
|
||||
#else
|
||||
# ifdef CONFIG_SPL
|
||||
u-boot {
|
||||
offset = <CONFIG_SYS_TEXT_BASE>;
|
||||
};
|
||||
# else
|
||||
/* If there is no SPL then we need to put microcode in U-Boot */
|
||||
u-boot-with-ucode-ptr {
|
||||
offset = <CONFIG_X86_OFFSET_U_BOOT>;
|
||||
};
|
||||
# endif
|
||||
#endif
|
||||
#ifdef CONFIG_HAVE_MICROCODE
|
||||
u-boot-dtb-with-ucode {
|
||||
|
Loading…
Reference in New Issue
Block a user