cactus: Use UART2 instead of UART0
It isn't a good idea to share resources between different images. For
this reason, Cactus should use a different console than the TF and TFTF.
Future partitions should ideally use another different UART.
Change-Id: I8b61ca09b0e820bc6b9cdb400c8d55e2005a23bd
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
diff --git a/spm/cactus/cactus_main.c b/spm/cactus/cactus_main.c
index 45197d3..4f0d1ae 100644
--- a/spm/cactus/cactus_main.c
+++ b/spm/cactus/cactus_main.c
@@ -77,8 +77,8 @@
void __dead2 cactus_main(void *el3_el0_buffer, size_t el3_el0_buffer_size)
{
- console_init(PLAT_ARM_UART_BASE,
- PLAT_ARM_UART_CLK_IN_HZ,
+ console_init(PL011_UART2_BASE,
+ PL011_UART2_CLK_IN_HZ,
PL011_BAUDRATE);
NOTICE("Booting test Secure Partition Cactus\n");