]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Move itss.c from Apollo Lake to a more generic location
authorWolfgang Wallner <wolfgang.wallner@br-automation.com>
Wed, 22 Jan 2020 15:01:46 +0000 (16:01 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 4 Feb 2020 04:01:08 +0000 (12:01 +0800)
The Interrupt Timer Subsystem (ITSS) is not specific to Apollo Lake, so
move it to a common location within arch/x86.

Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: conditionally build itss.c]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/Makefile
arch/x86/cpu/intel_common/Makefile
arch/x86/cpu/intel_common/itss.c [moved from arch/x86/cpu/apollolake/itss.c with 100% similarity]

index 1760df54d810d069e59ca57a3723c307b927f6d4..f99f2c6473971cf474c64da4063e226c99abbefb 100644 (file)
@@ -19,7 +19,6 @@ obj-y += fsp_s.o
 endif
 
 obj-y += hostbridge.o
-obj-y += itss.o
 obj-y += lpc.o
 obj-y += p2sb.o
 obj-y += pch.o
index cc4e1c962b99542e4eab09369064e54bd948706b..1e7a72f2baf618b02be69c76d0e255d4a90826a7 100644 (file)
@@ -27,6 +27,9 @@ obj-y += microcode.o
 endif
 endif
 obj-y += pch.o
+ifdef CONFIG_INTEL_APOLLOLAKE
+obj-y += itss.o
+endif
 
 ifdef CONFIG_SPL
 ifndef CONFIG_SPL_BUILD