mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Allow broadwell to build for SPL and include the reference code. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
34 lines
696 B
Makefile
34 lines
696 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2016 Google, Inc
|
|
|
|
obj-y += adsp.o
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += cpu.o
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += cpu_full.o
|
|
|
|
ifdef CONFIG_SPL
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-y += cpu_from_spl.o
|
|
obj-y += cpu_full.o
|
|
obj-y += refcode.o
|
|
endif
|
|
ifndef CONFIG_SPL_BUILD
|
|
# obj-y += cpu_from_spl.o
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(CONFIG_$(SPL_TPL_)X86_32BIT_INIT),)
|
|
#obj-y += cpu_from_spl.o
|
|
endif
|
|
|
|
obj-y += iobp.o
|
|
obj-y += lpc.o
|
|
obj-y += me.o
|
|
obj-y += northbridge.o
|
|
obj-y += pch.o
|
|
obj-y += pinctrl_broadwell.o
|
|
obj-y += power_state.o
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += refcode.o
|
|
obj-y += sata.o
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += sdram.o
|