Platform: Unify NS and secure UART STDOUT implementation
The uart_stdout implementations are actually identical for
Non-secure and Secure. The only difference is the actual
underlying stdio driver.
This patch unifies the implementations to one file, using
Macro to distinguish different drivers.
The patch also removes the unused enum uart_channel.
Change-Id: Ice89127cc98bd185947ce8de7af5190bd5bd69dc
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
diff --git a/platform/ext/common/uart_stdout.h b/platform/ext/common/uart_stdout.h
index d967c7c..a725ee4 100644
--- a/platform/ext/common/uart_stdout.h
+++ b/platform/ext/common/uart_stdout.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2019 ARM Limited
+ * Copyright (c) 2017-2020 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,16 +20,6 @@
#include <stdint.h>
/**
- * \brief UART channels that
- * can be used from TFM
- */
-enum uart_channel {
- UART0_CHANNEL = 0,
- UART1_CHANNEL,
- UART_INVALID
-};
-
-/**
* \brief Initializes the STDIO.
*
*/