arm: mach-k3: Print version of DM firmware during boot process

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>
This commit is contained in:
Moteen Shah 2025-06-09 13:44:34 +05:30 committed by Tom Rini
parent 7bdbda262c
commit 003e7d70cd
6 changed files with 24 additions and 0 deletions

View 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);

View 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)

View 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();

View 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)

View 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)

View 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)