aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass2019-12-06 21:41:52 -0700
committerBin Meng2019-12-15 11:44:10 +0800
commit76ab9f272610c7454f41e5fa059fe425c6b81292 (patch)
treefa0cd0b770f172edbb85ecb0c6d8d170ed94e3e5 /arch
parentcaca13f60a526349a00fcc316bd3c0d903b2cd7c (diff)
x86: Drop unnecessary interrupt code for TPL
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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/cpu/i386/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/i386/Makefile b/arch/x86/cpu/i386/Makefile
index 0c47252610d..18e152074a7 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