Skip to contentSkip to conversation

arm/scp-firmware: Add support for components other than SCP, MCP

PATCH Applied Peter Hoyes 2 participants 2 messages Apr 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/scp-firmware: Add support for components other than SCP, MCP

From: Peter Hoyes <[email protected]>

SCP-firmware may build components other than the SCP and MCP. Make the MCP branch of the do_install task more generic to suport this.

---
 .../recipes-bsp/scp-firmware/scp-firmware_2.11.0.bb  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.11.0.bb +6 -6
index d67e25d3..30705f6e 100644
@@ -78,17 +78,17 @@ do_install() {
                if [ "$FW" = "scp" ]; then
                    install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl1.bin" "${D}/firmware/${FW}_${TYPE}.bin"
                    install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf"
-               elif [ "$FW" = "mcp" ]; then
-                   install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-mcp-bl1.bin" "${D}/firmware/${FW}_${TYPE}.bin"
-                   install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-mcp-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf"
+               else
+                   install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl1.bin" "${D}/firmware/${FW}_${TYPE}.bin"
+                   install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf"
                fi
            elif [ "$TYPE" = "ramfw" ]; then
                if [ "$FW" = "scp" ]; then
                    install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl2.bin" "${D}/firmware/${FW}_${TYPE}.bin"
                    install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl2.elf" "${D}/firmware/${FW}_${TYPE}.elf"
-               elif [ "$FW" = "mcp" ]; then
-                   install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-mcp-bl2.bin" "${D}/firmware/${FW}_${TYPE}.bin"
-                   install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-mcp-bl2.elf" "${D}/firmware/${FW}_${TYPE}.elf"
+               else
+                   install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl2.bin" "${D}/firmware/${FW}_${TYPE}.bin"
+                   install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl2.elf" "${D}/firmware/${FW}_${TYPE}.elf"
                fi
            fi
        done
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 2 lines · Peter Hoyes

SCP-firmware may build components other than the SCP and MCP. Make the MCP branch of the do_install task more generic to suport this.

Applied, thanks!

[1/1] arm/scp-firmware: Add support for components other than SCP, MCP

      commit: 0b528b731aef8acb4bd67664d2c31315151e798d

Best regards,

Signature · 1 line
Jon Mason <[email protected]>