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 | 398336e | 2019-02-16 20:25:01 -0700 | [diff] [blame] | 5 | obj-y += adsp.o |
Simon Glass | 2aeaa57 | 2019-04-25 21:58:55 -0600 | [diff] [blame] | 6 | obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += cpu.o |
| 7 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += cpu_full.o |
Simon Glass | c51faed | 2019-04-25 21:58:54 -0600 | [diff] [blame] | 8 | |
| 9 | ifdef CONFIG_SPL |
| 10 | ifndef CONFIG_SPL_BUILD |
| 11 | obj-y += cpu_from_spl.o |
| 12 | obj-y += cpu_full.o |
Simon Glass | 2aeaa57 | 2019-04-25 21:58:55 -0600 | [diff] [blame] | 13 | obj-y += refcode.o |
Simon Glass | c51faed | 2019-04-25 21:58:54 -0600 | [diff] [blame] | 14 | endif |
| 15 | ifndef CONFIG_SPL_BUILD |
| 16 | # obj-y += cpu_from_spl.o |
| 17 | endif |
| 18 | endif |
| 19 | |
| 20 | ifeq ($(CONFIG_$(SPL_TPL_)X86_32BIT_INIT),) |
| 21 | #obj-y += cpu_from_spl.o |
| 22 | endif |
| 23 | |
Simon Glass | e7d04d8 | 2016-03-11 22:07:19 -0700 | [diff] [blame] | 24 | obj-y += iobp.o |
Simon Glass | ac0cce5 | 2016-03-11 22:07:23 -0700 | [diff] [blame] | 25 | obj-y += lpc.o |
Simon Glass | 17f9d5c | 2016-03-11 22:07:28 -0700 | [diff] [blame] | 26 | obj-y += me.o |
Simon Glass | ac9609c | 2016-03-11 22:07:22 -0700 | [diff] [blame] | 27 | obj-y += northbridge.o |
Simon Glass | e7d04d8 | 2016-03-11 22:07:19 -0700 | [diff] [blame] | 28 | obj-y += pch.o |
Simon Glass | e984eda | 2016-03-11 22:07:20 -0700 | [diff] [blame] | 29 | obj-y += pinctrl_broadwell.o |
Simon Glass | c7805d5 | 2016-03-11 22:07:25 -0700 | [diff] [blame] | 30 | obj-y += power_state.o |
Simon Glass | 2aeaa57 | 2019-04-25 21:58:55 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += refcode.o |
Simon Glass | 4979d07 | 2016-03-11 22:07:21 -0700 | [diff] [blame] | 32 | obj-y += sata.o |
Simon Glass | 69343ff | 2019-04-25 21:58:49 -0600 | [diff] [blame] | 33 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += sdram.o |