Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 2f3f477 | 2016-03-11 22:07:18 -0700 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2016 Google, Inc |
Simon Glass | 2f3f477 | 2016-03-11 22:07:18 -0700 | [diff] [blame] | 4 | |
Simon Glass | 23e8bd7 | 2019-02-16 20:25:01 -0700 | [diff] [blame] | 5 | obj-y += adsp.o |
Simon Glass | c0052b6 | 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 | 43294e6 | 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 | c0052b6 | 2019-04-25 21:58:55 -0600 | [diff] [blame^] | 13 | obj-y += refcode.o |
Simon Glass | 43294e6 | 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 | 1e6f4e5 | 2016-03-11 22:07:19 -0700 | [diff] [blame] | 24 | obj-y += iobp.o |
Simon Glass | 08cb742 | 2016-03-11 22:07:23 -0700 | [diff] [blame] | 25 | obj-y += lpc.o |
Simon Glass | b697b84 | 2016-03-11 22:07:28 -0700 | [diff] [blame] | 26 | obj-y += me.o |
Simon Glass | da3363d | 2016-03-11 22:07:22 -0700 | [diff] [blame] | 27 | obj-y += northbridge.o |
Simon Glass | 1e6f4e5 | 2016-03-11 22:07:19 -0700 | [diff] [blame] | 28 | obj-y += pch.o |
Simon Glass | b24f5c4 | 2016-03-11 22:07:20 -0700 | [diff] [blame] | 29 | obj-y += pinctrl_broadwell.o |
Simon Glass | 71a8f20 | 2016-03-11 22:07:25 -0700 | [diff] [blame] | 30 | obj-y += power_state.o |
Simon Glass | c0052b6 | 2019-04-25 21:58:55 -0600 | [diff] [blame^] | 31 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += refcode.o |
Simon Glass | d2c29d9 | 2016-03-11 22:07:21 -0700 | [diff] [blame] | 32 | obj-y += sata.o |
Simon Glass | 4eabf1e | 2019-04-25 21:58:49 -0600 | [diff] [blame] | 33 | obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += sdram.o |