Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 71606de | 2016-03-11 22:07:18 -0700 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2016 Google, Inc |
Simon Glass | 71606de | 2016-03-11 22:07:18 -0700 | [diff] [blame] | 4 | |
Simon Glass | 2aeaa57 | 2019-04-25 21:58:55 -0600 | [diff] [blame] | 5 | obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += cpu.o |
| 6 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += cpu_full.o |
Simon Glass | c51faed | 2019-04-25 21:58:54 -0600 | [diff] [blame] | 7 | |
| 8 | ifdef CONFIG_SPL |
| 9 | ifndef CONFIG_SPL_BUILD |
| 10 | obj-y += cpu_from_spl.o |
| 11 | obj-y += cpu_full.o |
Simon Glass | 2aeaa57 | 2019-04-25 21:58:55 -0600 | [diff] [blame] | 12 | obj-y += refcode.o |
Simon Glass | c51faed | 2019-04-25 21:58:54 -0600 | [diff] [blame] | 13 | endif |
| 14 | ifndef CONFIG_SPL_BUILD |
| 15 | # obj-y += cpu_from_spl.o |
Simon Glass | 76bfbb6 | 2023-05-04 16:51:00 -0600 | [diff] [blame] | 16 | obj-y += adsp.o |
| 17 | obj-y += sata.o |
Simon Glass | c51faed | 2019-04-25 21:58:54 -0600 | [diff] [blame] | 18 | endif |
| 19 | endif |
| 20 | |
| 21 | ifeq ($(CONFIG_$(SPL_TPL_)X86_32BIT_INIT),) |
| 22 | #obj-y += cpu_from_spl.o |
| 23 | endif |
| 24 | |
Simon Glass | e7d04d8 | 2016-03-11 22:07:19 -0700 | [diff] [blame] | 25 | obj-y += iobp.o |
Simon Glass | ac0cce5 | 2016-03-11 22:07:23 -0700 | [diff] [blame] | 26 | obj-y += lpc.o |
Simon Glass | 17f9d5c | 2016-03-11 22:07:28 -0700 | [diff] [blame] | 27 | obj-y += me.o |
Simon Glass | ac9609c | 2016-03-11 22:07:22 -0700 | [diff] [blame] | 28 | obj-y += northbridge.o |
Simon Glass | e7d04d8 | 2016-03-11 22:07:19 -0700 | [diff] [blame] | 29 | obj-y += pch.o |
Simon Glass | e984eda | 2016-03-11 22:07:20 -0700 | [diff] [blame] | 30 | obj-y += pinctrl_broadwell.o |
Simon Glass | c7805d5 | 2016-03-11 22:07:25 -0700 | [diff] [blame] | 31 | obj-y += power_state.o |
Simon Glass | 2aeaa57 | 2019-04-25 21:58:55 -0600 | [diff] [blame] | 32 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += refcode.o |
Simon Glass | 69343ff | 2019-04-25 21:58:49 -0600 | [diff] [blame] | 33 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += sdram.o |