diff mbox series

[dunfell] ti-tisdk-makefile: Add support for AM64x HS-FS in Makefile_sysfw-image

Message ID 20221123074641.3860-1-p-bhagat@ti.com
State New
Headers show
Series [dunfell] ti-tisdk-makefile: Add support for AM64x HS-FS in Makefile_sysfw-image | expand

Commit Message

Paresh Bhagat Nov. 23, 2022, 7:46 a.m. UTC
-Add support for sysfw-image build for am64xx HS-FS.
-Make HS-FS as default platform for am64xx-evm.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
 .../ti-tisdk-makefile/Makefile_sysfw-image                | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
index 08d80c35..e7888848 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
@@ -1,6 +1,6 @@ 
 # Define the following to support multiple platforms
 PLATFORM_TYPE_$(PLATFORM) = gp
-PLATFORM_TYPE_am64xx-hs-evm = hs
+PLATFORM_TYPE_am64xx-evm = hs-fs
 PLATFORM_TYPE_am65xx-hs-evm = hs
 PLATFORM_TYPE_j7-hs-evm = hs
 PLATFORM_TYPE = $(PLATFORM_TYPE_$(PLATFORM))
@@ -10,8 +10,7 @@  SYSFW_CONFIG = evm
 SYSFW_SOC_$(PLATFORM) = NULL
 SYSFW_SOC_am65xx-evm = am65x
 SYSFW_SOC_am65xx-hs-evm = am65x
-SYSFW_SOC_am64xx-evm = am64x
-SYSFW_SOC_am64xx-hs-evm = am64x
+SYSFW_SOC_am64xx-evm = am64x_sr2
 SYSFW_SOC_am62xx-evm = am62x
 SYSFW_SOC_j7-evm = j721e
 SYSFW_SOC_j7-hs-evm = j721e
@@ -32,6 +31,9 @@  SYSFW_MAKEARGS_gp = SYSFW_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SY
 SYSFW_MAKEARGS_hs = HS=1 SYSFW_HS_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-enc.bin \
 		    SYSFW_HS_INNER_CERT_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-cert.bin \
 		    SYSFW_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-enc.bin
+SYSFW_MAKEARGS_hs-fs = HS-FS=1 SYSFW_HS_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-enc.bin \
+                    SYSFW_HS_INNER_CERT_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-cert.bin \
+                    SYSFW_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-enc.bin
 
 SYSFW_MAKEARGS = $(SYSFW_MAKEARGS_common) $(SYSFW_MAKEARGS_$(PLATFORM_TYPE))