aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-02-25 23:16:14 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-02-25 23:16:14 +0000
commit093dce703296c82865fdaaa231f6287942d5039d (patch)
tree27fa17cb835e1e1d9da5ce1e099253fee7603102 /include
parentad8922fcd915491587e86295b43b91d9d399407c (diff)
parentf695e1e01a995e66f9f5be5430fef3b7920082f2 (diff)
downloadplatform_external_arm-trusted-firmware-093dce703296c82865fdaaa231f6287942d5039d.tar.gz
platform_external_arm-trusted-firmware-093dce703296c82865fdaaa231f6287942d5039d.tar.bz2
platform_external_arm-trusted-firmware-093dce703296c82865fdaaa231f6287942d5039d.zip
Merge "pl011: Use generic console_t data structure" into integration
Diffstat (limited to 'include')
-rw-r--r--include/drivers/arm/pl011.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/drivers/arm/pl011.h b/include/drivers/arm/pl011.h
index 8733d1964..ebc664348 100644
--- a/include/drivers/arm/pl011.h
+++ b/include/drivers/arm/pl011.h
@@ -81,17 +81,10 @@
#endif /* !PL011_GENERIC_UART */
-#define CONSOLE_T_PL011_BASE CONSOLE_T_DRVDATA
-
#ifndef __ASSEMBLER__
#include <stdint.h>
-typedef struct {
- console_t console;
- uintptr_t base;
-} console_pl011_t;
-
/*
* Initialize a new PL011 console instance and register it with the console
* framework. The |console| pointer must point to storage that will be valid
@@ -99,7 +92,7 @@ typedef struct {
* Its contents will be reinitialized from scratch.
*/
int console_pl011_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
- console_pl011_t *console);
+ console_t *console);
#endif /*__ASSEMBLER__*/