blob: f1d1513a9810bddc482185f279e9c84370008352 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glass144652f2016-03-11 22:06:53 -07002#
3# Copyright (c) 2016 Google, Inc
Simon Glass144652f2016-03-11 22:06:53 -07004
Simon Glassd0594ff2017-01-16 07:03:46 -07005ifdef CONFIG_HAVE_MRC
Simon Glass79ef6992019-04-25 21:58:53 -06006obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += car.o
Simon Glassa7a3eb32019-04-25 21:59:05 -06007obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += me_status.o
8obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += report_platform.o
9obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += mrc.o
Simon Glassd0594ff2017-01-16 07:03:46 -070010endif
Simon Glass8f963e12019-12-06 21:42:25 -070011
Simon Glass057427c2020-09-22 12:45:03 -060012ifndef CONFIG_SPL_BUILD
13obj-$(CONFIG_INTEL_GMA_ACPI) += intel_opregion.o
14endif
15
Simon Glass8f963e12019-12-06 21:42:25 -070016ifdef CONFIG_INTEL_CAR_CQOS
17obj-$(CONFIG_TPL_BUILD) += car2.o
18ifndef CONFIG_SPL_BUILD
19obj-y += car2_uninit.o
20endif
21endif
22
Simon Glass780ba482016-03-11 22:06:58 -070023obj-y += cpu.o
Simon Glassec1a30c2019-12-06 21:41:43 -070024obj-y += fast_spi.o
Simon Glass63e08a22016-03-11 22:06:57 -070025obj-y += lpc.o
Simon Glass66298372019-12-06 21:42:52 -070026obj-y += lpss.o
Simon Glass4c69a5f2020-09-22 12:45:04 -060027obj-$(CONFIG_INTEL_GENERIC_WIFI) += generic_wifi.o
Bin Meng65820742018-06-12 08:36:24 -070028ifndef CONFIG_TARGET_EFI_APP
Simon Glassa7a3eb32019-04-25 21:59:05 -060029obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += microcode.o
30ifndef CONFIG_$(SPL_)X86_64
Simon Glass2df61882016-03-11 22:06:54 -070031obj-y += microcode.o
32endif
Simon Glassa7a3eb32019-04-25 21:59:05 -060033endif
Simon Glass9c852d72016-03-16 07:44:36 -060034obj-y += pch.o
Wolfgang Wallnerb5460dd2020-02-03 14:06:45 +010035obj-$(CONFIG_HAVE_ITSS) += itss.o
Wolfgang Wallner21fae582020-02-04 09:04:56 +010036obj-$(CONFIG_HAVE_P2SB) += p2sb.o
Simon Glassd806916b2019-04-25 21:58:56 -060037
38ifdef CONFIG_SPL
39ifndef CONFIG_SPL_BUILD
Simon Glassbb883272020-04-30 21:21:43 -060040ifndef CONFIG_SYS_COREBOOT
Simon Glassd806916b2019-04-25 21:58:56 -060041obj-y += cpu_from_spl.o
42endif
43endif
Simon Glassbb883272020-04-30 21:21:43 -060044endif