feat(dlog): adopt FF-A in `stdout_putchar`
Use the extended FFA_CONSOLE_LOG64 ABI in `stdout_putchar` when it is
available.
Change-Id: I66405a7082b8af484d6829c9f6cea9209e3b66ae
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/test/hftest/service_common.c b/test/hftest/service_common.c
index d9b91d2..b277b38 100644
--- a/test/hftest/service_common.c
+++ b/test/hftest/service_common.c
@@ -12,6 +12,7 @@
#include "hf/memiter.h"
#include "hf/mm.h"
#include "hf/std.h"
+#include "hf/stdout.h"
#include "vmapi/hf/call.h"
@@ -116,6 +117,7 @@
ASSERT_TRUE(fdt_read_number(&root, "load-address",
&ctx->partition_manifest.load_addr));
EXPECT_TRUE(fdt_read_number(&root, "ffa-version", &number));
+ ctx->partition_manifest.ffa_version = number;
EXPECT_TRUE(fdt_read_property(&root, "uuid", &uuid));
@@ -295,6 +297,7 @@
* manifest for the SP.
*/
hftest_parse_ffa_manifest(ctx, &fdt);
+ stdout_init(ctx->partition_manifest.ffa_version);
/* TODO: Determine memory size referring to the SP Pkg. */
ctx->memory_size = 1048576;