aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/Makefile.inc
diff options
context:
space:
mode:
authorAndrey Petrov <andrey.petrov@intel.com>2016-05-14 16:32:39 -0700
committerAaron Durbin <adurbin@chromium.org>2016-05-18 07:04:10 +0200
commit9be1a115f141ce29ef9527b4bf954189c336546a (patch)
treeb939942719ed76a7791197964132452d59559162 /src/drivers/intel/fsp2_0/Makefile.inc
parent868679fe96bacd27a045ffea5961ed7c8e81da33 (diff)
drivers/intel/fsp2_0: Add recipes for FSP blobs in CBFS
Add recipes that insert FSP blobs into CBFS and get rid of CBFS names hardcoding. Change-Id: I350abeffc4d23e45e339464d036716ecdb2ba83a Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-on: https://review.coreboot.org/14818 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/intel/fsp2_0/Makefile.inc')
-rw-r--r--src/drivers/intel/fsp2_0/Makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/Makefile.inc b/src/drivers/intel/fsp2_0/Makefile.inc
index 3e94f2fffb..ff82390f24 100644
--- a/src/drivers/intel/fsp2_0/Makefile.inc
+++ b/src/drivers/intel/fsp2_0/Makefile.inc
@@ -25,4 +25,14 @@ ramstage-y += util.c
CPPFLAGS_common += -I$(src)/drivers/intel/fsp2_0/include
+# Add FSP blobs into cbfs. SoC code may supply additional options with
+# -options, e.g --xip or -b
+cbfs-files-$(CONFIG_ADD_FSP_BINARIES) += $(CONFIG_FSP_M_CBFS)
+$(CONFIG_FSP_M_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_M_FILE))
+$(CONFIG_FSP_M_CBFS)-type := fsp
+
+cbfs-files-$(CONFIG_ADD_FSP_BINARIES) += $(CONFIG_FSP_S_CBFS)
+$(CONFIG_FSP_S_CBFS)-file := $(call strip_quotes,$(CONFIG_FSP_S_FILE))
+$(CONFIG_FSP_S_CBFS)-type := fsp
+
endif