blob: dfe013e38334834cf116340b650f13866be74c7e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glass71606de2016-03-11 22:07:18 -07002#
3# Copyright (c) 2016 Google, Inc
Simon Glass71606de2016-03-11 22:07:18 -07004
Simon Glass4cafa212024-09-29 19:49:54 -06005obj-$(CONFIG_$(PHASE_)X86_16BIT_INIT) += cpu.o
6obj-$(CONFIG_$(PHASE_)X86_32BIT_INIT) += cpu_full.o
Simon Glassc51faed2019-04-25 21:58:54 -06007
8ifdef CONFIG_SPL
Simon Glass85ed77d2024-09-29 19:49:46 -06009ifndef CONFIG_XPL_BUILD
Simon Glassc51faed2019-04-25 21:58:54 -060010obj-y += cpu_from_spl.o
11obj-y += cpu_full.o
Simon Glass2aeaa572019-04-25 21:58:55 -060012obj-y += refcode.o
Simon Glassc51faed2019-04-25 21:58:54 -060013endif
Simon Glass85ed77d2024-09-29 19:49:46 -060014ifndef CONFIG_XPL_BUILD
Simon Glassc51faed2019-04-25 21:58:54 -060015# obj-y += cpu_from_spl.o
Simon Glass76bfbb62023-05-04 16:51:00 -060016obj-y += adsp.o
17obj-y += sata.o
Simon Glassc51faed2019-04-25 21:58:54 -060018endif
19endif
20
Simon Glass4cafa212024-09-29 19:49:54 -060021ifeq ($(CONFIG_$(PHASE_)X86_32BIT_INIT),)
Simon Glassc51faed2019-04-25 21:58:54 -060022#obj-y += cpu_from_spl.o
23endif
24
Simon Glasse7d04d82016-03-11 22:07:19 -070025obj-y += iobp.o
Simon Glassac0cce52016-03-11 22:07:23 -070026obj-y += lpc.o
Simon Glass17f9d5c2016-03-11 22:07:28 -070027obj-y += me.o
Simon Glassac9609c2016-03-11 22:07:22 -070028obj-y += northbridge.o
Simon Glasse7d04d82016-03-11 22:07:19 -070029obj-y += pch.o
Simon Glasse984eda2016-03-11 22:07:20 -070030obj-y += pinctrl_broadwell.o
Simon Glassc7805d52016-03-11 22:07:25 -070031obj-y += power_state.o
Simon Glass4cafa212024-09-29 19:49:54 -060032obj-$(CONFIG_$(PHASE_)X86_32BIT_INIT) += refcode.o
33obj-$(CONFIG_$(PHASE_)X86_32BIT_INIT) += sdram.o