diff options
author | Achin Gupta <achin.gupta@arm.com> | 2014-02-09 13:47:08 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-02-20 19:06:34 +0000 |
commit | 8aa0cd43a8c4c59012eb26fad11abbd7359ea114 (patch) | |
tree | 5a161540711f61f2996fffc715b3dc978b2ea886 /drivers/arm/peripherals/pl011/console.h | |
parent | a0cd989dd589acaa6cddaa6617bd59dde0b8ce26 (diff) |
Specify address of UART device to use as a console
This patch adds the ability to specify the base address of a UART
device for initialising the console. This allows a boot loader stage
to use a different UART device from UART0 (default) for the console.
Change-Id: Ie60b927389ae26085cfc90d22a564ff83ba62955
Diffstat (limited to 'drivers/arm/peripherals/pl011/console.h')
-rw-r--r-- | drivers/arm/peripherals/pl011/console.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/arm/peripherals/pl011/console.h b/drivers/arm/peripherals/pl011/console.h index ea45b436..e2859092 100644 --- a/drivers/arm/peripherals/pl011/console.h +++ b/drivers/arm/peripherals/pl011/console.h @@ -31,7 +31,7 @@ #ifndef __CONSOLE_H__ #define __CONSOLE_H__ -void console_init(void); +void console_init(unsigned long base_addr); int console_putc(int c); int console_getc(void); |