Merge changes from topic "uart1_console" into integration
* changes: feat(versal): add UART1 as console feat(zynqmp): add uart1 as console
This commit is contained in:
commit
b3c4101541
|
@ -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,
|
||||
|
|
|
@ -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