From 76ab9f272610c7454f41e5fa059fe425c6b81292 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 6 Dec 2019 21:41:52 -0700 Subject: [PATCH] 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 Reviewed-by: Bin Meng --- 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.25.1