Parametrize baudrate and UART clock during console_init()
authorSoby Mathew <soby.mathew@arm.com>
Mon, 14 Jul 2014 14:43:21 +0000 (15:43 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Mon, 28 Jul 2014 09:44:04 +0000 (10:44 +0100)
commit462c8350f6ed6b950609de1f72f00098440d3354
tree13dc775dad5e865dce64b90f229f01728d89c8c5
parentfce5f7501afad3fb1aa0cbff3c3d666e2c0f36f9
Parametrize baudrate and UART clock during console_init()

This patch adds baud rate and UART clock frequency as parameters
to the pl011 driver api console_init(). This allows each platform
to specify UART clock and baud rate according to their specific
hardware implementation.

Fixes ARM-software/tf-issues#215

Change-Id: Id13eef70a1c530e709b34dd1e6eb84db0797ced2
drivers/arm/pl011/pl011_console.S
include/drivers/arm/pl011.h
include/drivers/console.h
plat/fvp/bl1_fvp_setup.c
plat/fvp/bl2_fvp_setup.c
plat/fvp/bl31_fvp_setup.c
plat/fvp/bl32_fvp_setup.c
plat/fvp/fvp_def.h