2017-08-02 17:28:17 +02:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
## Copyright (C) 2014 - 2017 Intel Corporation.
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation; version 2 of the License.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_SOC_INTEL_DENVERTON_NS),y)
|
|
|
|
|
|
|
|
subdirs-y += ../../../cpu/intel/microcode
|
|
|
|
subdirs-y += ../../../cpu/intel/turbo
|
|
|
|
subdirs-y += ../../../cpu/x86/lapic
|
|
|
|
subdirs-y += ../../../cpu/x86/mtrr
|
2019-07-09 09:40:13 +02:00
|
|
|
subdirs-y += ../../../cpu/x86/smm
|
2017-08-02 17:28:17 +02:00
|
|
|
subdirs-y += ../../../cpu/x86/tsc
|
|
|
|
subdirs-y += ../../../cpu/x86/cache
|
|
|
|
|
|
|
|
bootblock-y += bootblock/bootblock.c
|
|
|
|
bootblock-y += spi.c
|
|
|
|
bootblock-y += tsc_freq.c
|
|
|
|
bootblock-$(CONFIG_CONSOLE_SERIAL) += bootblock/uart.c
|
|
|
|
bootblock-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
|
|
|
|
|
|
|
|
postcar-y += memmap.c
|
|
|
|
postcar-y += spi.c
|
2019-01-09 05:37:24 +01:00
|
|
|
postcar-y += tsc_freq.c
|
2017-08-02 17:28:17 +02:00
|
|
|
postcar-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
|
|
|
|
|
|
|
|
romstage-y += memmap.c
|
|
|
|
romstage-y += reset.c
|
2019-08-27 07:31:33 +02:00
|
|
|
romstage-y += ../../../cpu/intel/car/romstage.c
|
2017-08-02 17:28:17 +02:00
|
|
|
romstage-y += romstage.c
|
|
|
|
romstage-y += tsc_freq.c
|
2018-03-01 16:03:31 +01:00
|
|
|
romstage-y += gpio_dnv.c
|
2018-03-29 11:36:21 +02:00
|
|
|
romstage-y += gpio.c
|
2017-08-02 17:28:17 +02:00
|
|
|
romstage-y += soc_util.c
|
|
|
|
romstage-y += spi.c
|
|
|
|
romstage-y += fiamux.c
|
|
|
|
romstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
|
|
|
|
romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
|
|
|
|
romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
|
|
|
|
|
|
|
|
ramstage-y += memmap.c
|
|
|
|
ramstage-y += systemagent.c
|
|
|
|
ramstage-y += reset.c
|
|
|
|
ramstage-y += chip.c
|
|
|
|
ramstage-y += soc_util.c
|
|
|
|
ramstage-y += uart.c
|
|
|
|
ramstage-y += xhci.c
|
|
|
|
ramstage-y += csme_ie_kt.c
|
|
|
|
ramstage-y += lpc.c
|
|
|
|
ramstage-y += pmc.c
|
|
|
|
ramstage-y += npk.c
|
|
|
|
ramstage-y += sata.c
|
|
|
|
ramstage-y += cpu.c
|
|
|
|
ramstage-y += tsc_freq.c
|
|
|
|
ramstage-y += spi.c
|
|
|
|
ramstage-y += fiamux.c
|
2018-02-26 18:32:59 +01:00
|
|
|
ramstage-y += hob_mem.c
|
2017-08-02 17:28:17 +02:00
|
|
|
ramstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
|
|
|
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
|
|
|
|
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smm.c
|
|
|
|
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += pmutil.c
|
|
|
|
ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c
|
|
|
|
ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c
|
|
|
|
|
2019-07-07 22:58:34 +02:00
|
|
|
smm-y += pmutil.c
|
|
|
|
smm-y += soc_util.c
|
|
|
|
smm-y += smihandler.c
|
|
|
|
smm-y += tsc_freq.c
|
2017-08-02 17:28:17 +02:00
|
|
|
smm-$(CONFIG_SPI_FLASH_SMM) += spi.c
|
|
|
|
smm-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
|
|
|
|
|
|
|
|
verstage-y += memmap.c
|
|
|
|
verstage-y += reset.c
|
|
|
|
verstage-y += spi.c
|
2019-01-09 05:37:24 +01:00
|
|
|
verstage-y += tsc_freq.c
|
2017-08-02 17:28:17 +02:00
|
|
|
verstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c
|
|
|
|
|
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/denverton_ns/include
|
|
|
|
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/denverton_ns
|
|
|
|
|
|
|
|
##Set FSP binary blobs memory location
|
|
|
|
|
2019-11-06 11:01:00 +01:00
|
|
|
$(call strip_quotes,$(CONFIG_FSP_T_CBFS))-options := -b $(CONFIG_FSP_T_ADDR) --xip
|
|
|
|
$(call strip_quotes,$(CONFIG_FSP_M_CBFS))-options := -b $(CONFIG_FSP_M_ADDR) --xip
|
|
|
|
$(call strip_quotes,$(CONFIG_FSP_S_CBFS))-options := -b $(CONFIG_FSP_S_ADDR) --xip
|
2017-08-02 17:28:17 +02:00
|
|
|
|
|
|
|
endif ## CONFIG_SOC_INTEL_DENVERTON_NS
|