2017-05-03 03:54:44 +02:00
|
|
|
ifeq ($(CONFIG_SOC_INTEL_CANNONLAKE),y)
|
|
|
|
|
2017-07-07 21:25:20 +02:00
|
|
|
subdirs-y += romstage
|
2017-07-07 00:27:27 +02:00
|
|
|
subdirs-y += ../../../cpu/intel/microcode
|
2017-06-06 03:24:50 +02:00
|
|
|
subdirs-y += ../../../cpu/x86/mtrr
|
|
|
|
subdirs-y += ../../../cpu/x86/tsc
|
|
|
|
|
2017-07-21 19:10:15 +02:00
|
|
|
bootblock-$(CONFIG_DRIVERS_UART_8250MEM) += uart.c
|
2017-06-06 03:24:50 +02:00
|
|
|
bootblock-y += bootblock/bootblock.c
|
|
|
|
bootblock-y += bootblock/cpu.c
|
|
|
|
bootblock-y += bootblock/pch.c
|
|
|
|
bootblock-y += bootblock/report_platform.c
|
|
|
|
bootblock-y += gpio.c
|
2017-07-11 21:26:56 +02:00
|
|
|
bootblock-y += memmap.c
|
2017-06-06 03:24:50 +02:00
|
|
|
|
2017-07-11 21:26:56 +02:00
|
|
|
romstage-y += memmap.c
|
2017-06-06 03:24:50 +02:00
|
|
|
romstage-y += reset.c
|
2017-07-21 19:10:15 +02:00
|
|
|
romstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart.c
|
2017-05-03 03:54:44 +02:00
|
|
|
|
2017-07-21 19:09:41 +02:00
|
|
|
ramstage-y += cbmem.c
|
2017-06-06 03:24:50 +02:00
|
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP2_0) += reset.c
|
2017-07-21 19:10:15 +02:00
|
|
|
ramstage-$(CONFIG_DRIVERS_UART_8250MEM) += uart.c
|
2017-06-06 03:24:50 +02:00
|
|
|
|
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake/include/fsp20
|
|
|
|
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/cannonlake
|
|
|
|
|
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake
|
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake/include
|
2017-05-03 03:54:44 +02:00
|
|
|
|
|
|
|
endif
|