Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 1 | ## |
| 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 | |
| 16 | ifeq ($(CONFIG_SOC_INTEL_DENVERTON_NS),y) |
| 17 | |
| 18 | subdirs-y += ../../../cpu/intel/microcode |
| 19 | subdirs-y += ../../../cpu/intel/turbo |
| 20 | subdirs-y += ../../../cpu/x86/lapic |
| 21 | subdirs-y += ../../../cpu/x86/mtrr |
Kyösti Mälkki | 0d9f4e9 | 2019-07-09 10:40:13 +0300 | [diff] [blame] | 22 | subdirs-y += ../../../cpu/x86/smm |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 23 | subdirs-y += ../../../cpu/x86/tsc |
| 24 | subdirs-y += ../../../cpu/x86/cache |
| 25 | |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 26 | bootblock-y += bootblock/bootblock.c |
| 27 | bootblock-y += spi.c |
| 28 | bootblock-y += tsc_freq.c |
| 29 | bootblock-$(CONFIG_CONSOLE_SERIAL) += bootblock/uart.c |
| 30 | bootblock-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c |
| 31 | |
| 32 | postcar-y += memmap.c |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 33 | postcar-y += spi.c |
Kyösti Mälkki | 6390c50 | 2019-01-09 06:37:24 +0200 | [diff] [blame] | 34 | postcar-y += tsc_freq.c |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 35 | postcar-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c |
| 36 | |
| 37 | romstage-y += memmap.c |
| 38 | romstage-y += reset.c |
Subrata Banik | 1799011 | 2019-08-27 11:01:33 +0530 | [diff] [blame] | 39 | romstage-y += ../../../cpu/intel/car/romstage.c |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 40 | romstage-y += romstage.c |
| 41 | romstage-y += tsc_freq.c |
Julien Viard de Galbert | 7ebb6b0 | 2018-03-01 16:03:31 +0100 | [diff] [blame] | 42 | romstage-y += gpio_dnv.c |
Julien Viard de Galbert | 3ac3a68 | 2018-03-29 11:36:21 +0200 | [diff] [blame] | 43 | romstage-y += gpio.c |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 44 | romstage-y += soc_util.c |
| 45 | romstage-y += spi.c |
| 46 | romstage-y += fiamux.c |
| 47 | romstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c |
| 48 | romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c |
| 49 | romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c |
| 50 | |
| 51 | ramstage-y += memmap.c |
| 52 | ramstage-y += systemagent.c |
| 53 | ramstage-y += reset.c |
| 54 | ramstage-y += chip.c |
| 55 | ramstage-y += soc_util.c |
| 56 | ramstage-y += uart.c |
| 57 | ramstage-y += xhci.c |
| 58 | ramstage-y += csme_ie_kt.c |
| 59 | ramstage-y += lpc.c |
| 60 | ramstage-y += pmc.c |
| 61 | ramstage-y += npk.c |
| 62 | ramstage-y += sata.c |
| 63 | ramstage-y += cpu.c |
| 64 | ramstage-y += tsc_freq.c |
| 65 | ramstage-y += spi.c |
| 66 | ramstage-y += fiamux.c |
Julien Viard de Galbert | 2d0aaa7 | 2018-02-26 18:32:59 +0100 | [diff] [blame] | 67 | ramstage-y += hob_mem.c |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 68 | ramstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c |
| 69 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c |
| 70 | ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smm.c |
| 71 | ramstage-$(CONFIG_HAVE_SMI_HANDLER) += pmutil.c |
| 72 | ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c |
| 73 | ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c |
| 74 | |
Kyösti Mälkki | 9265f89 | 2019-07-07 23:58:34 +0300 | [diff] [blame] | 75 | smm-y += pmutil.c |
| 76 | smm-y += soc_util.c |
| 77 | smm-y += smihandler.c |
| 78 | smm-y += tsc_freq.c |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 79 | smm-$(CONFIG_SPI_FLASH_SMM) += spi.c |
| 80 | smm-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c |
| 81 | |
| 82 | verstage-y += memmap.c |
| 83 | verstage-y += reset.c |
| 84 | verstage-y += spi.c |
Kyösti Mälkki | 6390c50 | 2019-01-09 06:37:24 +0200 | [diff] [blame] | 85 | verstage-y += tsc_freq.c |
Mariusz Szafranski | a404133 | 2017-08-02 17:28:17 +0200 | [diff] [blame] | 86 | verstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart_debug.c |
| 87 | |
| 88 | CPPFLAGS_common += -I$(src)/soc/intel/denverton_ns/include |
| 89 | CPPFLAGS_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 | |
| 97 | endif ## CONFIG_SOC_INTEL_DENVERTON_NS |