diff options
author | Andreas Dannenberg <dannenberg@ti.com> | 2018-12-04 22:29:47 -0600 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2020-02-13 21:39:18 +0530 |
commit | 96dd223c2933a9190411f52ab0654f50feca3005 (patch) | |
tree | 7867cda7c351306ded5661eee063ed205003a610 /arch/arm/mach-k3 | |
parent | a06df8f339a5b79e4a258bb802b1cebb58c0019d (diff) | |
download | u-boot-96dd223c2933a9190411f52ab0654f50feca3005.tar.gz u-boot-96dd223c2933a9190411f52ab0654f50feca3005.tar.xz u-boot-96dd223c2933a9190411f52ab0654f50feca3005.zip |
armV7R: K3: am654: Activate early console functionality
Activate early console functionality on AM65x devices to allow for
early diagnostic messages until the main console is ready
to get activated.
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/mach-k3')
-rw-r--r-- | arch/arm/mach-k3/am6_init.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/am6_init.c b/arch/arm/mach-k3/am6_init.c index 8d107b870b..63cd7e0458 100644 --- a/arch/arm/mach-k3/am6_init.c +++ b/arch/arm/mach-k3/am6_init.c @@ -109,6 +109,16 @@ void board_init_f(ulong dummy) /* Init DM early in-order to invoke system controller */ spl_early_init(); +#ifdef CONFIG_K3_EARLY_CONS + /* + * Allow establishing an early console as required for example when + * doing a UART-based boot. Note that this console may not "survive" + * through a SYSFW PM-init step and will need a re-init in some way + * due to changing module clock frequencies. + */ + early_console_init(); +#endif + #ifdef CONFIG_K3_LOAD_SYSFW /* * Process pinctrl for the serial0 a.k.a. WKUP_UART0 module and continue |