feat(zynqmp): 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: I08f69b65b78b967ceb7159f4a467aa5982b1f791
This commit is contained in:
Venkatesh Yadav Abbarapu 2021-12-19 21:32:00 -07:00
parent f480c9c42b
commit ea66e4af0b
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
{
uint64_t atf_handoff_addr;
if (ZYNQMP_CONSOLE_IS(cadence)) {
if (ZYNQMP_CONSOLE_IS(cadence) || (ZYNQMP_CONSOLE_IS(cadence1))) {
/* Register the console to provide early debug support */
static console_t bl31_boot_console;
(void)console_cdns_register(ZYNQMP_UART_BASE,