From cca59d47d3040289b99a2e5f816abcb14047e456 Mon Sep 17 00:00:00 2001 From: Raju Kumar Pothuraju Date: Thu, 12 Dec 2024 21:19:13 +0530 Subject: xilinx-bootbin: Update to work with multiple optionaldata fields optionaldata fields can be multiple update the logic to work with multiple with ';' separated. Signed-off-by: Raju Kumar Pothuraju Signed-off-by: Mark Hatle --- meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 80696176..9aaac3c4 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 @@ -141,9 +141,9 @@ python do_configure() { biffd.write("the_ROM_image:\n") biffd.write("{\n") - if d.getVar("BIF_OPTIONAL_DATA"): - opt_data = d.getVar("BIF_OPTIONAL_DATA") or "" - biffd.write("\toptionaldata { %s }\n" % opt_data) + for opt_data in (d.getVar("BIF_OPTIONAL_DATA") or "").split(';'): + if opt_data: + biffd.write("\toptionaldata { %s }\n" % opt_data) arch = d.getVar("SOC_FAMILY") bifattr = (d.getVar("BIF_COMMON_ATTR") or "").split() -- cgit v1.2.3-54-g00ecf