summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/am6_init.c
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2020-03-10 16:50:58 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2020-03-11 08:56:49 +0530
commit6e44aebdbb96e9465ec874b926fa108fd10d9b59 (patch)
tree53a7810cb5ec1e9cbda0e4713f181218ba01788c /arch/arm/mach-k3/am6_init.c
parenta98fb62a4c2cd9db81b7a7a0f35889a924b3cb61 (diff)
downloadu-boot-6e44aebdbb96e9465ec874b926fa108fd10d9b59.tar.gz
arm: mach-k3: Add a separate function for printing sysfw version
Add a separate function for printing sysfw version so that it can be called independently of k3_sysfw_loader. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/am6_init.c')
-rw-r--r--arch/arm/mach-k3/am6_init.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-k3/am6_init.c b/arch/arm/mach-k3/am6_init.c
index 63cd7e0458..0f739818f6 100644
--- a/arch/arm/mach-k3/am6_init.c
+++ b/arch/arm/mach-k3/am6_init.c
@@ -133,10 +133,8 @@ void board_init_f(ulong dummy)
pinctrl_select_state(dev, "default");
/*
- * Load, start up, and configure system controller firmware. Provide
- * the U-Boot console init function to the SYSFW post-PM configuration
- * callback hook, effectively switching on (or over) the console
- * output.
+ * Load, start up, and configure system controller firmware while
+ * also populating the SYSFW post-PM configuration callback hook.
*/
k3_sysfw_loader(preloader_console_init);
@@ -150,6 +148,9 @@ void board_init_f(ulong dummy)
preloader_console_init();
#endif
+ /* Output System Firmware version info */
+ k3_sysfw_print_ver();
+
/* Perform EEPROM-based board detection */
do_board_detect();