summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/common.h
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2019-08-15 15:55:28 -0500
committerTom Rini <trini@konsulko.com>2019-10-11 10:07:33 -0400
commite630afe1debc71b799548bdc6aa6bfbb02a12953 (patch)
tree66e0b55658a89c544fcdb6ead83c5ad7547d45b6 /arch/arm/mach-k3/common.h
parente413033d3553402b313a4e2b1839c2d19e7cdcd3 (diff)
arm: K3: common: Allow for early console functionality
Implement an early console functionality in SPL that can be used before the main console is being brought up. This helps in situations where the main console is dependent on System Firmware (SYSFW) being up and running, which is usually not the case during the very early stages of boot. Using this early console functionality will allow for an alternate serial port to be used to support things like UART-based boot and early diagnostic messages until the main console is ready to get activated. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/common.h')
-rw-r--r--arch/arm/mach-k3/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.h b/arch/arm/mach-k3/common.h
index ac7e80d9af2..ab68e14de8b 100644
--- a/arch/arm/mach-k3/common.h
+++ b/arch/arm/mach-k3/common.h
@@ -9,3 +9,4 @@
#include <asm/armv7_mpu.h>
void setup_k3_mpu_regions(void);
+int early_console_init(void);