diff options
-rw-r--r-- | meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal.inc | 3 | ||||
-rw-r--r-- | meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal.inc b/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal.inc index fff2c7a3..cd6adcef 100644 --- a/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal.inc +++ b/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal.inc | |||
@@ -4,6 +4,9 @@ BOOTGEN_EXTRA_ARGS += "-dump bh" | |||
4 | # specify BIF common attribute for FSBL | 4 | # specify BIF common attribute for FSBL |
5 | BIF_COMMON_ATTR ?= "" | 5 | BIF_COMMON_ATTR ?= "" |
6 | 6 | ||
7 | # specify BIF optional attributes | ||
8 | BIF_OPTIONAL_DATA ?= "" | ||
9 | |||
7 | #specify BIF partition attributes required for BOOT.bin | 10 | #specify BIF partition attributes required for BOOT.bin |
8 | BIF_FSBL_ATTR ??= "base-pdi plmfw psmfw" | 11 | BIF_FSBL_ATTR ??= "base-pdi plmfw psmfw" |
9 | BIF_ATF_ATTR ??= "arm-trusted-firmware" | 12 | BIF_ATF_ATTR ??= "arm-trusted-firmware" |
diff --git a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb index 4c8bfa0e..e0e1e506 100644 --- a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | |||
@@ -125,6 +125,10 @@ python do_configure() { | |||
125 | biffd.write("the_ROM_image:\n") | 125 | biffd.write("the_ROM_image:\n") |
126 | biffd.write("{\n") | 126 | biffd.write("{\n") |
127 | 127 | ||
128 | if d.getVar("BIF_OPTIONAL_DATA"): | ||
129 | opt_data = d.getVar("BIF_OPTIONAL_DATA") or "" | ||
130 | biffd.write("\toptionaldata { %s }\n" % opt_data) | ||
131 | |||
128 | arch = d.getVar("SOC_FAMILY") | 132 | arch = d.getVar("SOC_FAMILY") |
129 | bifattr = (d.getVar("BIF_COMMON_ATTR") or "").split() | 133 | bifattr = (d.getVar("BIF_COMMON_ATTR") or "").split() |
130 | if bifattr: | 134 | if bifattr: |