• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## SPDX-License-Identifier: GPL-2.0-only
2ifeq ($(CONFIG_SOC_INTEL_BRASWELL),y)
3
4subdirs-y += romstage
5subdirs-y += ../../../cpu/intel/microcode
6subdirs-y += ../../../cpu/intel/turbo
7subdirs-y += ../../../cpu/intel/common
8
9bootblock-y += gpio_support.c
10bootblock-y += bootblock/bootblock.c
11bootblock-y += lpc_init.c
12bootblock-y += pmutil.c
13bootblock-y += tsc_freq.c
14
15romstage-y += gpio_support.c
16romstage-y += iosf.c
17romstage-y += memmap.c
18romstage-y += pmutil.c
19romstage-y += smbus.c
20romstage-y += tsc_freq.c
21
22postcar-y += memmap.c
23postcar-y += iosf.c
24postcar-y += tsc_freq.c
25
26ramstage-y += acpi.c
27ramstage-y += chip.c
28ramstage-y += cpu.c
29ramstage-$(CONFIG_ELOG) += elog.c
30ramstage-y += emmc.c
31ramstage-y += fadt.c
32ramstage-y += gpio.c
33ramstage-y += gfx.c
34ramstage-y += smbus.c
35
36ramstage-y += gpio_support.c
37ramstage-y += iosf.c
38ramstage-y += lpe.c
39ramstage-y += lpss.c
40ramstage-y += memmap.c
41ramstage-y += northcluster.c
42ramstage-y += pcie.c
43ramstage-y += pmutil.c
44ramstage-y += ramstage.c
45ramstage-y += sata.c
46ramstage-y += scc.c
47ramstage-y += sd.c
48ramstage-y += smm.c
49ramstage-y += southcluster.c
50ramstage-y += tsc_freq.c
51ramstage-y += xhci.c
52
53# Remove as ramstage gets fleshed out
54ramstage-y += placeholders.c
55smm-y += lpc_init.c
56smm-y += pmutil.c
57smm-y += smihandler.c
58smm-y += tsc_freq.c
59
60verstage-y += pmutil.c
61verstage-y += tsc_freq.c
62
63CPPFLAGS_common += -I$(src)/soc/intel/braswell/
64CPPFLAGS_common += -I$(src)/soc/intel/braswell/include
65CPPFLAGS_common += -I$(call strip_quotes,$(CONFIG_FSP_HEADER_PATH))
66
67cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-4c-*)
68
69ifneq ($(CONFIG_VGA_BIOS_FILE),)
70#we will assume that the vbios names will remain as they are now: vgabios.bin and vgabios_c0.bin
71BRASWELL_C0_VBIOS= $(subst .bin,_c0.bin,$(call strip_quotes,$(CONFIG_VGA_BIOS_FILE)))
72
73cbfs-files-$(CONFIG_VGA_BIOS) += pci8086,22b1.rom
74pci8086,22b1.rom-file := $(BRASWELL_C0_VBIOS)
75pci8086,22b1.rom-type := optionrom
76endif # ifneq ($(CONFIG_VGA_BIOS_FILE),)
77
78endif # ifeq ($(CONFIG_SOC_INTEL_BRASWELL),y)
79