feat(versal): add UART1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also. Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: Ifcd3c331cf6ce4afb0074357c92fc4addb9438b6
This commit is contained in:
parent
ea66e4af0b
commit
2c791499c2
|
@ -64,7 +64,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|||
{
|
||||
uint64_t atf_handoff_addr;
|
||||
|
||||
if (VERSAL_CONSOLE_IS(pl011)) {
|
||||
if (VERSAL_CONSOLE_IS(pl011) || (VERSAL_CONSOLE_IS(pl011_1))) {
|
||||
static console_t versal_runtime_console;
|
||||
/* Initialize the console to provide early debug support */
|
||||
int rc = console_pl011_register((unsigned long)VERSAL_UART_BASE,
|
||||
|
|
Loading…
Reference in New Issue