[PATCH v6 019/102] x86: Drop unnecessary interrupt code for TPL
Simon Glass
sjg at chromium.org
Sat Dec 7 05:41:52 CET 2019
We don't expect an exception in TPL and don't need to set up interrupts in
TPL. Drop this whole file.
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---
Changes in v6: None
Changes in v5: None
Changes in v4:
- Drop the whole interrupt file for TPL
Changes in v3: None
Changes in v2: None
arch/x86/cpu/i386/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/cpu/i386/Makefile b/arch/x86/cpu/i386/Makefile
index 0c47252610..18e152074a 100644
--- a/arch/x86/cpu/i386/Makefile
+++ b/arch/x86/cpu/i386/Makefile
@@ -5,5 +5,7 @@
obj-y += call64.o
obj-y += cpu.o
+ifndef CONFIG_TPL_BUILD
obj-y += interrupt.o
+endif
obj-y += setjmp.o
--
2.24.0.393.g34dc348eaf-goog
More information about the U-Boot
mailing list