blob: 10bb665bd027aa8e84c211e045bcd4c9564dd029 [file] [log] [blame]
Mariusz Szafranskia4041332017-08-02 17:28:17 +02001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2014 - 2017 Intel Corporation.
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15
16ifeq ($(CONFIG_SOC_INTEL_DENVERTON_NS),y)
17
18subdirs-y += ../../../cpu/intel/microcode
19subdirs-y += ../../../cpu/intel/turbo
20subdirs-y += ../../../cpu/x86/lapic
21subdirs-y += ../../../cpu/x86/mtrr
Kyösti Mälkki0d9f4e92019-07-09 10:40:13 +030022subdirs-y += ../../../cpu/x86/smm
Mariusz Szafranskia4041332017-08-02 17:28:17 +020023subdirs-y += ../../../cpu/x86/tsc
24subdirs-y += ../../../cpu/x86/cache
25
Mariusz Szafranskia4041332017-08-02 17:28:17 +020026bootblock-y += bootblock/bootblock.c
27bootblock-y += spi.c
28bootblock-y += tsc_freq.c
29bootblock-$(CONFIG_CONSOLE_SERIAL) += bootblock/uart.c
30bootblock-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
31
32postcar-y += memmap.c
Mariusz Szafranskia4041332017-08-02 17:28:17 +020033postcar-y += spi.c
Kyösti Mälkki6390c502019-01-09 06:37:24 +020034postcar-y += tsc_freq.c
Mariusz Szafranskia4041332017-08-02 17:28:17 +020035postcar-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
36
37romstage-y += memmap.c
38romstage-y += reset.c
Subrata Banik17990112019-08-27 11:01:33 +053039romstage-y += ../../../cpu/intel/car/romstage.c
Mariusz Szafranskia4041332017-08-02 17:28:17 +020040romstage-y += romstage.c
41romstage-y += tsc_freq.c
Julien Viard de Galbert7ebb6b02018-03-01 16:03:31 +010042romstage-y += gpio_dnv.c
Julien Viard de Galbert3ac3a682018-03-29 11:36:21 +020043romstage-y += gpio.c
Mariusz Szafranskia4041332017-08-02 17:28:17 +020044romstage-y += soc_util.c
45romstage-y += spi.c
46romstage-y += fiamux.c
47romstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
48romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
49romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
50
51ramstage-y += memmap.c
52ramstage-y += systemagent.c
53ramstage-y += reset.c
54ramstage-y += chip.c
55ramstage-y += soc_util.c
56ramstage-y += uart.c
57ramstage-y += xhci.c
58ramstage-y += csme_ie_kt.c
59ramstage-y += lpc.c
60ramstage-y += pmc.c
61ramstage-y += npk.c
62ramstage-y += sata.c
63ramstage-y += cpu.c
64ramstage-y += tsc_freq.c
65ramstage-y += spi.c
66ramstage-y += fiamux.c
Julien Viard de Galbert2d0aaa72018-02-26 18:32:59 +010067ramstage-y += hob_mem.c
Mariusz Szafranskia4041332017-08-02 17:28:17 +020068ramstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
69ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
70ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smm.c
71ramstage-$(CONFIG_HAVE_SMI_HANDLER) += pmutil.c
72ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
73ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
74
Kyösti Mälkki9265f892019-07-07 23:58:34 +030075smm-y += pmutil.c
76smm-y += soc_util.c
77smm-y += smihandler.c
78smm-y += tsc_freq.c
Mariusz Szafranskia4041332017-08-02 17:28:17 +020079smm-$(CONFIG_SPI_FLASH_SMM) += spi.c
80smm-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
81
82verstage-y += memmap.c
83verstage-y += reset.c
84verstage-y += spi.c
Kyösti Mälkki6390c502019-01-09 06:37:24 +020085verstage-y += tsc_freq.c
Mariusz Szafranskia4041332017-08-02 17:28:17 +020086verstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
87
88CPPFLAGS_common += -I$(src)/soc/intel/denverton_ns/include
89CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/denverton_ns
90
91##Set FSP binary blobs memory location
92
93$(CONFIG_FSP_T_CBFS)-options := -b $(CONFIG_FSP_T_ADDR) --xip
94$(CONFIG_FSP_M_CBFS)-options := -b $(CONFIG_FSP_M_ADDR) --xip
95$(CONFIG_FSP_S_CBFS)-options := -b $(CONFIG_FSP_S_ADDR) --xip
96
97endif ## CONFIG_SOC_INTEL_DENVERTON_NS