aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-02-25 21:03:11 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-02-25 21:03:11 +0000
commitb857b833f67e3615e62e97352c1806adc0d94bbc (patch)
treead3e20ea11a9aef79092ba6955bc65903ed38c29 /include
parent02ad9cd659390ce7f350ca61c22e844bd21986a2 (diff)
parentac71344e9eca1f7d1e0ce4a67aca776470639b1c (diff)
downloadplatform_external_arm-trusted-firmware-b857b833f67e3615e62e97352c1806adc0d94bbc.tar.gz
platform_external_arm-trusted-firmware-b857b833f67e3615e62e97352c1806adc0d94bbc.tar.bz2
platform_external_arm-trusted-firmware-b857b833f67e3615e62e97352c1806adc0d94bbc.zip
Merge "console: Integrate UART base address in generic console_t" into integration
Diffstat (limited to 'include')
-rw-r--r--include/drivers/console.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drivers/console.h b/include/drivers/console.h
index a4859d80f..761816ac7 100644
--- a/include/drivers/console.h
+++ b/include/drivers/console.h
@@ -14,7 +14,8 @@
#define CONSOLE_T_PUTC (U(2) * REGSZ)
#define CONSOLE_T_GETC (U(3) * REGSZ)
#define CONSOLE_T_FLUSH (U(4) * REGSZ)
-#define CONSOLE_T_DRVDATA (U(5) * REGSZ)
+#define CONSOLE_T_BASE (U(5) * REGSZ)
+#define CONSOLE_T_DRVDATA (U(6) * REGSZ)
#define CONSOLE_FLAG_BOOT (U(1) << 0)
#define CONSOLE_FLAG_RUNTIME (U(1) << 1)
@@ -43,6 +44,7 @@ typedef struct console {
int (*const putc)(int character, struct console *console);
int (*const getc)(struct console *console);
int (*const flush)(struct console *console);
+ uintptr_t base;
/* Additional private driver data may follow here. */
} console_t;