blob: 4a5cf17e41df5ff3d253ec7c97b6c9eb17b6e488 [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 Glassd73344b2020-09-22 12:45:14 -06005obj-$(CONFIG_INTEL_ACPIGEN) += acpi.o
6
Simon Glassd0594ff2017-01-16 07:03:46 -07007ifdef CONFIG_HAVE_MRC
Simon Glass79ef6992019-04-25 21:58:53 -06008obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += car.o
Simon Glassa7a3eb32019-04-25 21:59:05 -06009obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += me_status.o
10obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += report_platform.o
11obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += mrc.o
Simon Glassd0594ff2017-01-16 07:03:46 -070012endif
Simon Glass8f963e12019-12-06 21:42:25 -070013
Simon Glass057427c2020-09-22 12:45:03 -060014ifndef CONFIG_SPL_BUILD
15obj-$(CONFIG_INTEL_GMA_ACPI) += intel_opregion.o
16endif
17
Simon Glass8f963e12019-12-06 21:42:25 -070018ifdef CONFIG_INTEL_CAR_CQOS
19obj-$(CONFIG_TPL_BUILD) += car2.o
20ifndef CONFIG_SPL_BUILD
21obj-y += car2_uninit.o
22endif
23endif
24
Simon Glass780ba482016-03-11 22:06:58 -070025obj-y += cpu.o
Simon Glassec1a30c2019-12-06 21:41:43 -070026obj-y += fast_spi.o
Simon Glass63e08a22016-03-11 22:06:57 -070027obj-y += lpc.o
Simon Glass66298372019-12-06 21:42:52 -070028obj-y += lpss.o
Simon Glass4c69a5f2020-09-22 12:45:04 -060029obj-$(CONFIG_INTEL_GENERIC_WIFI) += generic_wifi.o
Bin Meng65820742018-06-12 08:36:24 -070030ifndef CONFIG_TARGET_EFI_APP
Simon Glassa7a3eb32019-04-25 21:59:05 -060031obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += microcode.o
32ifndef CONFIG_$(SPL_)X86_64
Simon Glass2df61882016-03-11 22:06:54 -070033obj-y += microcode.o
34endif
Simon Glassa7a3eb32019-04-25 21:59:05 -060035endif
Simon Glass9c852d72016-03-16 07:44:36 -060036obj-y += pch.o
Wolfgang Wallnerb5460dd2020-02-03 14:06:45 +010037obj-$(CONFIG_HAVE_ITSS) += itss.o
Wolfgang Wallner21fae582020-02-04 09:04:56 +010038obj-$(CONFIG_HAVE_P2SB) += p2sb.o
Simon Glassd806916b2019-04-25 21:58:56 -060039
40ifdef CONFIG_SPL
41ifndef CONFIG_SPL_BUILD
Simon Glassbb883272020-04-30 21:21:43 -060042ifndef CONFIG_SYS_COREBOOT
Simon Glassd806916b2019-04-25 21:58:56 -060043obj-y += cpu_from_spl.o
44endif
45endif
Simon Glassbb883272020-04-30 21:21:43 -060046endif