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:
parent
f480c9c42b
commit
ea66e4af0b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue