2015-10-06 19:33:49 +02:00
|
|
|
ifeq ($(CONFIG_SOC_INTEL_APOLLOLAKE),y)
|
|
|
|
|
|
|
|
subdirs-y += ../../../cpu/intel/microcode
|
|
|
|
subdirs-y += ../../../cpu/intel/turbo
|
|
|
|
subdirs-y += ../../../cpu/x86/lapic
|
|
|
|
subdirs-y += ../../../cpu/x86/mtrr
|
|
|
|
subdirs-y += ../../../cpu/x86/smm
|
|
|
|
subdirs-y += ../../../cpu/x86/tsc
|
2016-03-05 06:33:04 +01:00
|
|
|
subdirs-y += ../../../cpu/x86/cache
|
2015-10-06 19:33:49 +02:00
|
|
|
|
2015-10-07 02:16:41 +02:00
|
|
|
bootblock-y += bootblock/bootblock.c
|
|
|
|
bootblock-y += bootblock/cache_as_ram.S
|
2016-02-11 02:47:03 +01:00
|
|
|
bootblock-y += bootblock/bootblock.c
|
2016-03-31 18:38:13 +02:00
|
|
|
bootblock-y += car.c
|
2016-02-10 02:02:57 +01:00
|
|
|
bootblock-y += gpio.c
|
2016-03-30 21:09:05 +02:00
|
|
|
bootblock-y += lpc_lib.c
|
2016-02-13 00:12:43 +01:00
|
|
|
bootblock-y += mmap_boot.c
|
2015-10-07 02:16:41 +02:00
|
|
|
bootblock-y += placeholders.c
|
2016-02-11 02:47:03 +01:00
|
|
|
bootblock-y += tsc_freq.c
|
2016-02-25 01:49:07 +01:00
|
|
|
bootblock-$(CONFIG_SOC_UART_DEBUG) += uart_early.c
|
2015-10-07 02:16:41 +02:00
|
|
|
|
2015-10-06 19:33:49 +02:00
|
|
|
romstage-y += placeholders.c
|
2016-03-31 18:38:13 +02:00
|
|
|
romstage-y += car.c
|
2016-02-26 02:42:25 +01:00
|
|
|
romstage-$(CONFIG_PLATFORM_USES_FSP2_0) += romstage.c
|
2016-02-10 02:02:57 +01:00
|
|
|
romstage-y += gpio.c
|
2016-02-25 01:49:07 +01:00
|
|
|
romstage-$(CONFIG_SOC_UART_DEBUG) += uart_early.c
|
2016-03-30 21:09:05 +02:00
|
|
|
romstage-y += lpc_lib.c
|
2016-03-03 00:09:27 +01:00
|
|
|
romstage-y += memmap.c
|
2016-05-12 19:43:37 +02:00
|
|
|
romstage-y += meminit.c
|
2016-02-13 00:12:43 +01:00
|
|
|
romstage-y += mmap_boot.c
|
2016-04-13 02:00:52 +02:00
|
|
|
romstage-y += tsc_freq.c
|
2016-02-05 05:13:34 +01:00
|
|
|
romstage-y += pmutil.c
|
2016-02-11 02:47:03 +01:00
|
|
|
|
2015-10-06 19:33:49 +02:00
|
|
|
smm-y += placeholders.c
|
2016-02-05 05:13:34 +01:00
|
|
|
smm-y += pmutil.c
|
2015-11-10 02:06:34 +01:00
|
|
|
|
|
|
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
|
2016-03-05 06:33:04 +01:00
|
|
|
ramstage-y += cpu.c
|
2016-03-05 06:41:13 +01:00
|
|
|
ramstage-y += chip.c
|
2015-10-06 19:33:49 +02:00
|
|
|
ramstage-y += placeholders.c
|
2016-02-10 02:02:57 +01:00
|
|
|
ramstage-y += gpio.c
|
2015-12-16 01:06:15 +01:00
|
|
|
ramstage-y += graphics.c
|
2016-02-25 01:49:07 +01:00
|
|
|
ramstage-$(CONFIG_SOC_UART_DEBUG) += uart_early.c
|
2015-11-13 03:19:41 +01:00
|
|
|
ramstage-y += lpc.c
|
2016-03-30 21:09:05 +02:00
|
|
|
ramstage-y += lpc_lib.c
|
2016-03-03 00:09:27 +01:00
|
|
|
ramstage-y += memmap.c
|
2016-02-13 00:12:43 +01:00
|
|
|
ramstage-y += mmap_boot.c
|
2016-03-09 01:12:06 +01:00
|
|
|
ramstage-y += uart.c
|
2016-01-16 03:05:12 +01:00
|
|
|
ramstage-y += northbridge.c
|
2016-02-25 00:08:23 +01:00
|
|
|
ramstage-y += spi.c
|
2016-04-13 02:00:52 +02:00
|
|
|
ramstage-y += tsc_freq.c
|
2016-02-05 05:13:34 +01:00
|
|
|
ramstage-y += pmutil.c
|
2016-02-11 22:46:28 +01:00
|
|
|
ramstage-y += pmc.c
|
2015-10-06 19:33:49 +02:00
|
|
|
|
2016-03-18 17:19:38 +01:00
|
|
|
postcar-y += exit_car.S
|
|
|
|
postcar-y += memmap.c
|
|
|
|
postcar-y += mmap_boot.c
|
|
|
|
postcar-$(CONFIG_SOC_UART_DEBUG) += uart_early.c
|
2016-03-15 01:38:51 +01:00
|
|
|
postcar-y += tsc_freq.c
|
2016-03-18 17:19:38 +01:00
|
|
|
|
2015-10-07 02:16:41 +02:00
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/apollolake/include
|
|
|
|
|
2016-05-17 09:03:27 +02:00
|
|
|
# Since FSP-M runs in CAR we need to relocate it to a specific address
|
|
|
|
$(CONFIG_FSP_M_CBFS)-options := -b $(CONFIG_FSP_M_ADDR)
|
|
|
|
|
2015-10-06 19:33:49 +02:00
|
|
|
endif
|