x86: Support TPL in Intel common code
[platform/kernel/u-boot.git] / arch / x86 / cpu / intel_common / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # Copyright (c) 2016 Google, Inc
4
5 ifdef CONFIG_HAVE_MRC
6 obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += car.o
7 obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += me_status.o
8 obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += report_platform.o
9 obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += mrc.o
10 endif
11 obj-y += cpu.o
12 obj-y += lpc.o
13 ifndef CONFIG_TARGET_EFI_APP
14 obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += microcode.o
15 ifndef CONFIG_$(SPL_)X86_64
16 obj-y += microcode.o
17 endif
18 endif
19 obj-y += pch.o
20
21 ifdef CONFIG_SPL
22 ifndef CONFIG_SPL_BUILD
23 obj-y += cpu_from_spl.o
24 endif
25 endif