x86: Drop unnecessary interrupt code for TPL
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:41:52 +0000 (21:41 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:10 +0000 (11:44 +0800)
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>
arch/x86/cpu/i386/Makefile

index 0c47252610dc2da6a092495ba24a8c9c41c18bea..18e152074a74d4f164c2b07ec516c435e63fa2a8 100644 (file)
@@ -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