Skip to contentSkip to conversation

x86: Include FSP and CMC binary in the u-boot.rom build rules

PATCH New Bin Meng 2 participants 3 messages Dec 4, 2014 – Dec 5, 2014 Kbuild

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 21/25 x86: Include FSP and CMC binary in the u-boot.rom build rules

---
 Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)
Makefile +8 -0
index c9ae77b..abfb74b 100644
@@ -976,6 +976,14 @@ ifneq ($(CONFIG_HAVE_MRC),)
 IFDTOOL_FLAGS += -w $(CONFIG_X86_MRC_START):$(srctree)/board/$(BOARDDIR)/mrc.bin
 endif
 
+ifneq ($(CONFIG_HAVE_FSP),)
+IFDTOOL_FLAGS += -w $(CONFIG_FSP_LOCATION):$(CONFIG_FSP_FILE)
+endif
+
+ifneq ($(CONFIG_HAVE_CMC),)
+IFDTOOL_FLAGS += -w $(CONFIG_CMC_LOCATION):$(CONFIG_CMC_FILE)
+endif
+
 ifneq ($(CONFIG_X86_OPTION_ROM_ADDR),)
 IFDTOOL_FLAGS += -w $(CONFIG_X86_OPTION_ROM_ADDR):$(srctree)/board/$(BOARDDIR)/$(CONFIG_X86_OPTION_ROM_FILENAME)
 endif
Signature · 1 line
1.8.2.1
#1 lore raw

PATCH 21/25 x86: Include FSP and CMC binary in the u-boot.rom build rules

Hi Bin,

Quoted 10 lines · Bin Meng
---
 Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)
Makefile +0 -0
index c9ae77b..abfb74b 100644

Makefile ifneq ($(CONFIG_HAVE_MRC),) · line 980

Quoted 5 lines
Makefile +2 -0
@@ -976,6 +976,14 @@ ifneq ($(CONFIG_HAVE_MRC),)
 IFDTOOL_FLAGS += -w $(CONFIG_X86_MRC_START):$(srctree)/board/$(BOARDDIR)/mrc.bin
 endif
 
+ifneq ($(CONFIG_HAVE_FSP),)
+IFDTOOL_FLAGS += -w $(CONFIG_FSP_LOCATION):$(CONFIG_FSP_FILE)

Can we stay consistent - e.g. START instead of LOCATION? or ADDR? Granted it's not 100% consistent now.

Quoted 10 lines
Makefile +6 -1
+endif
+
+ifneq ($(CONFIG_HAVE_CMC),)
+IFDTOOL_FLAGS += -w $(CONFIG_CMC_LOCATION):$(CONFIG_CMC_FILE)
+endif
+
 ifneq ($(CONFIG_X86_OPTION_ROM_ADDR),)
 IFDTOOL_FLAGS += -w $(CONFIG_X86_OPTION_ROM_ADDR):$(srctree)/board/$(BOARDDIR)/$(CONFIG_X86_OPTION_ROM_FILENAME)
 endif
--
Quoted 2 lines

1.8.2.1

Regards,
Simon

author
#2 lore raw

PATCH 21/25 x86: Include FSP and CMC binary in the u-boot.rom build rules

Hi Simon,

Quoted 16 lines · Simon Glass

Hi Bin,

Quoted 13 lines · Bin Meng
---
 Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)
Makefile +0 -0
index c9ae77b..abfb74b 100644
@@ -976,6 +976,14 @@ ifneq ($(CONFIG_HAVE_MRC),)
 IFDTOOL_FLAGS += -w $(CONFIG_X86_MRC_START):$(srctree)/board/$(BOARDDIR)/mrc.bin
 endif
 
Quoted 5 lines

Makefile ifneq ($(CONFIG_HAVE_MRC),) · line 980

Quoted 2 lines
Makefile +2 -0
+ifneq ($(CONFIG_HAVE_FSP),)
+IFDTOOL_FLAGS += -w $(CONFIG_FSP_LOCATION):$(CONFIG_FSP_FILE)

Can we stay consistent - e.g. START instead of LOCATION? or ADDR? Granted it's not 100% consistent now.

Sure. I believe we can use ADDR for all these blobs.

Quoted 7 lines
Quoted 7 lines
Makefile +6 -0
+endif
+
+ifneq ($(CONFIG_HAVE_CMC),)
+IFDTOOL_FLAGS += -w $(CONFIG_CMC_LOCATION):$(CONFIG_CMC_FILE)
+endif
+
 ifneq ($(CONFIG_X86_OPTION_ROM_ADDR),)
Quoted 8 lines
Quoted 5 lines
Makefile +0 -1
 IFDTOOL_FLAGS += -w $(CONFIG_X86_OPTION_ROM_ADDR):$(srctree)/board/$(BOARDDIR)/$(CONFIG_X86_OPTION_ROM_FILENAME)
 endif
--

1.8.2.1

Regards,
Simon

Regards,
Bin