blob: 374803b87607d0a624dd4e6ec0c6542ac62537e0 [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 Glass2eff9892017-01-16 07:03:46 -07005ifdef CONFIG_HAVE_MRC
Simon Glassd68574a2019-04-25 21:58:53 -06006obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += car.o
Simon Glass9fa31fc2019-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 Glass2eff9892017-01-16 07:03:46 -070010endif
Simon Glassf45e7472019-12-06 21:42:25 -070011
12ifdef CONFIG_INTEL_CAR_CQOS
13obj-$(CONFIG_TPL_BUILD) += car2.o
14ifndef CONFIG_SPL_BUILD
15obj-y += car2_uninit.o
16endif
17endif
18
Simon Glass50dd3da2016-03-11 22:06:58 -070019obj-y += cpu.o
Simon Glassd4961622019-12-06 21:41:43 -070020obj-y += fast_spi.o
Simon Glass8c30b572016-03-11 22:06:57 -070021obj-y += lpc.o
Simon Glassb84d4d02019-12-06 21:42:52 -070022obj-y += lpss.o
Bin Meng3ebd8922018-06-12 08:36:24 -070023ifndef CONFIG_TARGET_EFI_APP
Simon Glass9fa31fc2019-04-25 21:59:05 -060024obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += microcode.o
25ifndef CONFIG_$(SPL_)X86_64
Simon Glass9e665062016-03-11 22:06:54 -070026obj-y += microcode.o
27endif
Simon Glass9fa31fc2019-04-25 21:59:05 -060028endif
Simon Glass7e4a6ae2016-03-16 07:44:36 -060029obj-y += pch.o
Wolfgang Wallner1d5bf322020-02-03 14:06:45 +010030obj-$(CONFIG_HAVE_ITSS) += itss.o
Wolfgang Wallner29998462020-02-04 09:04:56 +010031obj-$(CONFIG_HAVE_P2SB) += p2sb.o
Simon Glass17903c02019-04-25 21:58:56 -060032
33ifdef CONFIG_SPL
34ifndef CONFIG_SPL_BUILD
Simon Glassb4d4f592020-04-30 21:21:43 -060035ifndef CONFIG_SYS_COREBOOT
Simon Glass17903c02019-04-25 21:58:56 -060036obj-y += cpu_from_spl.o
37endif
38endif
Simon Glassb4d4f592020-04-30 21:21:43 -060039endif