Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/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
12 ifdef CONFIG_INTEL_CAR_CQOS
13 obj-$(CONFIG_TPL_BUILD) += car2.o
14 ifndef CONFIG_SPL_BUILD
15 obj-y += car2_uninit.o
16 endif
17 endif
18
19 obj-y += cpu.o
20 obj-y += fast_spi.o
21 obj-y += lpc.o
22 obj-y += lpss.o
23 ifndef CONFIG_TARGET_EFI_APP
24 obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += microcode.o
25 ifndef CONFIG_$(SPL_)X86_64
26 obj-y += microcode.o
27 endif
28 endif
29 obj-y += pch.o
30 obj-$(CONFIG_HAVE_ITSS) += itss.o
31 obj-$(CONFIG_HAVE_P2SB) += p2sb.o
32
33 ifdef CONFIG_SPL
34 ifndef CONFIG_SPL_BUILD
35 ifndef CONFIG_SYS_COREBOOT
36 obj-y += cpu_from_spl.o
37 endif
38 endif
39 endif