aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-01-25 00:58:35 +0000
committerAndre Przywara <andre.przywara@arm.com>2020-02-25 09:34:38 +0000
commitd7873bcd541b99a816c4ea6f1cce66858641f6fc (patch)
treefb07e46a237fd2343d2f690e26fb6524091363e5 /drivers
parente21a788ee197ec66f6b8552e2274297bf4a095a8 (diff)
downloadplatform_external_arm-trusted-firmware-d7873bcd541b99a816c4ea6f1cce66858641f6fc.tar.gz
platform_external_arm-trusted-firmware-d7873bcd541b99a816c4ea6f1cce66858641f6fc.tar.bz2
platform_external_arm-trusted-firmware-d7873bcd541b99a816c4ea6f1cce66858641f6fc.zip
imx: Use generic console_t data structure
Since now the generic console_t structure holds the UART base address as well, let's use that generic location and drop the UART driver specific data structure at all. Change-Id: I058f793e4024fa7291e432f5be374a77faf16f36 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/imx/uart/imx_uart.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/imx/uart/imx_uart.h b/drivers/imx/uart/imx_uart.h
index 4f6d3de2e..a13302484 100644
--- a/drivers/imx/uart/imx_uart.h
+++ b/drivers/imx/uart/imx_uart.h
@@ -154,15 +154,10 @@
#ifndef __ASSEMBLER__
-typedef struct {
- console_t console;
- uintptr_t base;
-} console_imx_uart_t;
-
int console_imx_uart_register(uintptr_t baseaddr,
uint32_t clock,
uint32_t baud,
- console_imx_uart_t *console);
+ console_t *console);
#endif /*__ASSEMBLER__*/
#endif /* IMX_UART_H */