blob: 8b9a810f66db9fcb4e7957783628ab7ab2c2b099 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glass1223d732016-03-11 22:06:53 -07002#
3# Copyright (c) 2016 Google, Inc
Simon Glass1223d732016-03-11 22:06:53 -07004
Simon Glass9b3e6d42020-09-22 12:45:14 -06005obj-$(CONFIG_INTEL_ACPIGEN) += acpi.o
6
Simon Glass2eff9892017-01-16 07:03:46 -07007ifdef CONFIG_HAVE_MRC
Simon Glassd68574a2019-04-25 21:58:53 -06008obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += car.o
Simon Glass9fa31fc2019-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 Glass2eff9892017-01-16 07:03:46 -070012endif
Simon Glassf45e7472019-12-06 21:42:25 -070013
Simon Glassc9cc37d2020-09-22 12:45:03 -060014ifndef CONFIG_SPL_BUILD
15obj-$(CONFIG_INTEL_GMA_ACPI) += intel_opregion.o
16endif
17
Simon Glassf45e7472019-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 Glass50dd3da2016-03-11 22:06:58 -070025obj-y += cpu.o
Simon Glassd4961622019-12-06 21:41:43 -070026obj-y += fast_spi.o
Simon Glass8c30b572016-03-11 22:06:57 -070027obj-y += lpc.o
Simon Glassb84d4d02019-12-06 21:42:52 -070028obj-y += lpss.o
Simon Glass8b842be2020-12-23 08:11:30 -070029obj-$(CONFIG_$(SPL_)INTEL_GENERIC_WIFI) += generic_wifi.o
Bin Meng3ebd8922018-06-12 08:36:24 -070030ifndef CONFIG_TARGET_EFI_APP
Simon Glass9fa31fc2019-04-25 21:59:05 -060031obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += microcode.o
32ifndef CONFIG_$(SPL_)X86_64
Simon Glass9e665062016-03-11 22:06:54 -070033obj-y += microcode.o
34endif
Simon Glass9fa31fc2019-04-25 21:59:05 -060035endif
Simon Glass7e4a6ae2016-03-16 07:44:36 -060036obj-y += pch.o
Wolfgang Wallner1d5bf322020-02-03 14:06:45 +010037obj-$(CONFIG_HAVE_ITSS) += itss.o
Wolfgang Wallner29998462020-02-04 09:04:56 +010038obj-$(CONFIG_HAVE_P2SB) += p2sb.o
Simon Glass17903c02019-04-25 21:58:56 -060039
40ifdef CONFIG_SPL
41ifndef CONFIG_SPL_BUILD
Simon Glassb4d4f592020-04-30 21:21:43 -060042ifndef CONFIG_SYS_COREBOOT
Simon Glass17903c02019-04-25 21:58:56 -060043obj-y += cpu_from_spl.o
44endif
45endif
Simon Glassb4d4f592020-04-30 21:21:43 -060046endif