]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: mach-k3: Print version of DM firmware during boot process
authorMoteen Shah <m-shah@ti.com>
Mon, 9 Jun 2025 08:14:34 +0000 (13:44 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 18 Jun 2025 18:20:25 +0000 (12:20 -0600)
Print DM firmware's version in the boot up process of K3 devices,
having DM capability(DM as a separate binary).

Signed-off-by: Moteen Shah <m-shah@ti.com>
arch/arm/mach-k3/am62ax/am62a7_init.c
arch/arm/mach-k3/am62px/am62p5_init.c
arch/arm/mach-k3/j721e/j721e_init.c
arch/arm/mach-k3/j721s2/j721s2_init.c
arch/arm/mach-k3/j722s/j722s_init.c
arch/arm/mach-k3/j784s4/j784s4_init.c

index edd43a1d78daa600969f468cf3fbdbd0bc6892a0..ac4d30052f3d2508d84fb71ee1958f3408aa1fd0 100644 (file)
@@ -172,6 +172,10 @@ void board_init_f(ulong dummy)
        /* Output System Firmware version info */
        k3_sysfw_print_ver();
 
+       /* Output DM Firmware version info */
+       if (IS_ENABLED(CONFIG_ARM64))
+               k3_dm_print_ver();
+
        if (IS_ENABLED(CONFIG_ESM_K3)) {
                /* Probe/configure ESM0 */
                ret = uclass_get_device_by_name(UCLASS_MISC, "esm@420000", &dev);
index 6e3c66e5107a2674ba8781272df8cf5f05338986..44a2d445d24cc3aabbcd20e6191d1dc766b1e733 100644 (file)
@@ -224,6 +224,10 @@ void board_init_f(ulong dummy)
        /* Output System Firmware version info */
        k3_sysfw_print_ver();
 
+       /* Output DM Firmware version info */
+       if (IS_ENABLED(CONFIG_ARM64))
+               k3_dm_print_ver();
+
        if (IS_ENABLED(CONFIG_K3_AM62A_DDRSS)) {
                ret = uclass_get_device(UCLASS_RAM, 0, &dev);
                if (ret)
index f31c20f7ed61667e6535cd2761906b9358ff3b0d..498243485f577fd55ddc0fcb257ab4f356a366b1 100644 (file)
@@ -374,6 +374,10 @@ void board_init_f(ulong dummy)
        /* Output System Firmware version info */
        k3_sysfw_print_ver();
 
+       /* Output DM Firmware version info */
+       if (IS_ENABLED(CONFIG_ARM64))
+               k3_dm_print_ver();
+
        /* Perform board detection */
        do_board_detect();
 
index 5941fa26a9597217bd73833e686a73c4f9fddcfd..528590f0434f0405ce04694ecc67fd1e17ff6469 100644 (file)
@@ -232,6 +232,10 @@ void k3_spl_init(void)
 
        /* Output System Firmware version info */
        k3_sysfw_print_ver();
+
+       /* Output DM Firmware version info */
+       if (IS_ENABLED(CONFIG_ARM64))
+               k3_dm_print_ver();
 }
 
 bool check_rom_loaded_sysfw(void)
index af211377e7c35321fd08f36a70b6b3ed2e884f62..d8123f282ee8d044f031c99f8bc924b98ff6e6f8 100644 (file)
@@ -150,6 +150,10 @@ static void k3_spl_init(void)
 
        /* Output System Firmware version info */
        k3_sysfw_print_ver();
+
+       /* Output DM Firmware version info */
+       if (IS_ENABLED(CONFIG_ARM64))
+               k3_dm_print_ver();
 }
 
 static void k3_mem_init(void)
index 787cf6261e426227092f88c0d4765da2caa8c446..ccf298108490f8b4a25c16192f3a49efc80ed7bc 100644 (file)
@@ -208,6 +208,10 @@ void k3_spl_init(void)
 
        /* Output System Firmware version info */
        k3_sysfw_print_ver();
+
+       /* Output DM Firmware version info */
+       if (IS_ENABLED(CONFIG_ARM64))
+               k3_dm_print_ver();
 }
 
 void k3_mem_init(void)