feat(xilinx): add none console
None console does not register boot and runtime console.
User will not observe any console logs.
Change-Id: I39877c900f399ae7cffc1bb599b30c7a23888fc8
Signed-off-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
diff --git a/plat/amd/versal2/include/def.h b/plat/amd/versal2/include/def.h
index 5018702..f3a7907 100644
--- a/plat/amd/versal2/include/def.h
+++ b/plat/amd/versal2/include/def.h
@@ -15,6 +15,7 @@
#define MAX_INTR_EL3 2
/* List all consoles */
+#define VERSAL2_CONSOLE_ID_none 0
#define VERSAL2_CONSOLE_ID_pl011 1
#define VERSAL2_CONSOLE_ID_pl011_0 1
#define VERSAL2_CONSOLE_ID_pl011_1 2
@@ -162,6 +163,8 @@
#elif CONSOLE_IS(dcc)
# define UART_BASE 0x0
# define UART_TYPE CONSOLE_DCC
+#elif CONSOLE_IS(none)
+# define UART_TYPE CONSOLE_NONE
#else
# error "invalid VERSAL2_CONSOLE"
#endif