mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
x86: cpu: Don't include the cpu driver in TPL
We don't need this driver very early in boot and it adds code size. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
add3f4c918
commit
b377ebbd5b
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,10 @@ endif
|
|||
|
||||
extra-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += resetvec.o start16.o
|
||||
|
||||
obj-y += cpu.o cpu_x86.o
|
||||
obj-y += cpu.o
|
||||
ifndef CONFIG_TPL_BUILD
|
||||
obj-y += cpu_x86.o
|
||||
endif
|
||||
|
||||
ifndef CONFIG_$(SPL_)X86_64
|
||||
AFLAGS_REMOVE_call32.o := -mregparm=3 \
|
||||
|
|
Loading…
Reference in a new issue