Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 2 | |
Stefan Reinauer | 86ddd73 | 2016-03-11 20:22:28 -0800 | [diff] [blame] | 3 | ifeq ($(CONFIG_PLATFORM_USES_FSP1_1),y) |
| 4 | |
Frans Hendriks | 4e0ec59 | 2019-06-06 10:07:17 +0200 | [diff] [blame] | 5 | bootblock-$(CONFIG_USE_GENERIC_FSP_CAR_INC) += cache_as_ram.S |
Subrata Banik | a90f41b | 2016-07-27 05:30:50 +0530 | [diff] [blame] | 6 | bootblock-y += fsp_util.c |
Arthur Heymans | 8256ca0 | 2019-10-21 18:47:46 +0200 | [diff] [blame] | 7 | bootblock-y += ../../../cpu/intel/microcode/microcode_asm.S |
Frans Hendriks | c022a79 | 2020-11-20 10:52:39 +0100 | [diff] [blame] | 8 | bootblock-y += fsp_report.c |
Subrata Banik | a90f41b | 2016-07-27 05:30:50 +0530 | [diff] [blame] | 9 | |
Aaron Durbin | e6af4be | 2015-09-24 12:26:31 -0500 | [diff] [blame] | 10 | romstage-y += car.c |
Lee Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 11 | romstage-y += fsp_util.c |
| 12 | romstage-y += hob.c |
Lee Leahy | d5855ec | 2015-10-15 17:17:09 -0700 | [diff] [blame] | 13 | romstage-y += raminit.c |
| 14 | romstage-y += romstage.c |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 15 | |
Lee Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 16 | ramstage-y += fsp_relocate.c |
| 17 | ramstage-y += fsp_util.c |
| 18 | ramstage-y += hob.c |
Lee Leahy | 94b856e | 2015-10-15 12:07:03 -0700 | [diff] [blame] | 19 | ramstage-y += ramstage.c |
Nico Huber | 29cc331 | 2018-06-06 17:40:02 +0200 | [diff] [blame] | 20 | ramstage-$(CONFIG_INTEL_GMA_ADD_VBT) += vbt.c |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 21 | |
Aaron Durbin | 789f2b6 | 2015-09-09 17:05:06 -0500 | [diff] [blame] | 22 | CPPFLAGS_common += -Isrc/drivers/intel/fsp1_1/include |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 23 | |
Arthur Heymans | be291e8 | 2019-01-06 07:35:11 +0100 | [diff] [blame] | 24 | ifneq ($(CONFIG_SKIP_FSP_CAR),y) |
| 25 | postcar-y += temp_ram_exit.c |
| 26 | postcar-y += exit_car.S |
| 27 | endif |
| 28 | postcar-y += fsp_util.c |
| 29 | |
Lee Leahy | b5ad827 | 2015-04-20 15:29:16 -0700 | [diff] [blame] | 30 | # Add the FSP binary to the cbfs image |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 31 | ifeq ($(CONFIG_HAVE_FSP_BIN),y) |
| 32 | cbfs-files-y += fsp.bin |
| 33 | fsp.bin-file := $(call strip_quotes,$(CONFIG_FSP_FILE)) |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 34 | fsp.bin-type := fsp |
Patrick Rudolph | d9c799c | 2019-02-19 10:57:16 +0100 | [diff] [blame] | 35 | fsp.bin-options := --xip $(TXTIBB) |
Patrick Georgi | 9346939 | 2016-08-10 17:04:43 +0200 | [diff] [blame] | 36 | fsp.bin-COREBOOT-position := $(CONFIG_FSP_LOC) |
Lee Leahy | 3dad489 | 2015-05-05 11:14:02 -0700 | [diff] [blame] | 37 | endif |
Stefan Reinauer | 86ddd73 | 2016-03-11 20:22:28 -0800 | [diff] [blame] | 38 | |
Frans Hendriks | 50b999f | 2019-11-08 13:55:45 +0100 | [diff] [blame] | 39 | # Add logo to the cbfs image |
Kyösti Mälkki | 4949a3d | 2021-01-09 20:38:43 +0200 | [diff] [blame] | 40 | cbfs-files-$(CONFIG_BMP_LOGO) += logo.bmp |
Frans Hendriks | 50b999f | 2019-11-08 13:55:45 +0100 | [diff] [blame] | 41 | logo.bmp-file := $(call strip_quotes,$(CONFIG_FSP1_1_LOGO_FILE_NAME)) |
| 42 | logo.bmp-type := raw |
| 43 | logo.bmp-compression := LZMA |
| 44 | |
Stefan Reinauer | 86ddd73 | 2016-03-11 20:22:28 -0800 | [diff] [blame] | 45 | endif |