diff options
-rw-r--r-- | spm/cactus/cactus_main.c | 7 | ||||
-rw-r--r-- | spm/cactus/plat/arm/fvp/fdts/cactus.dts | 6 |
2 files changed, 5 insertions, 8 deletions
diff --git a/spm/cactus/cactus_main.c b/spm/cactus/cactus_main.c index 50219f3..9d40caf 100644 --- a/spm/cactus/cactus_main.c +++ b/spm/cactus/cactus_main.c @@ -286,14 +286,17 @@ void __dead2 cactus_main(bool primary_cold_boot, goto msg_loop; } - if (ffa_id == SPM_VM_ID_FIRST) { + if (ffa_id == (SPM_VM_ID_FIRST)) { + cactus_print_boot_info(boot_info_header); + } + + if (ffa_id == (SPM_VM_ID_FIRST + 2)) { console_init(CACTUS_PL011_UART_BASE, CACTUS_PL011_UART_CLK_IN_HZ, PL011_BAUDRATE); set_putc_impl(PL011_AS_STDOUT); - cactus_print_boot_info(boot_info_header); } else { set_putc_impl(FFA_SVC_SMC_CALL_AS_STDOUT); } diff --git a/spm/cactus/plat/arm/fvp/fdts/cactus.dts b/spm/cactus/plat/arm/fvp/fdts/cactus.dts index 4d27c9c..edeb65c 100644 --- a/spm/cactus/plat/arm/fvp/fdts/cactus.dts +++ b/spm/cactus/plat/arm/fvp/fdts/cactus.dts @@ -93,12 +93,6 @@ device-regions { compatible = "arm,ffa-manifest-device-regions"; - uart2 { - base-address = <0x00000000 0x1c0b0000>; - pages-count = <1>; - attributes = <0x3>; /* read-write */ - }; - smmuv3-testengine { /* * SMMUv3TestEngine is a DMA IP modeled in the |