Platform: Implement UART uninitialize function
This patch introduces an uninitialize function for the UART
peripheral to restore it's default state before passing
execution to runtime image from MCUBoot.
Change-Id: Iaf239b575be82402b9c142e990fb0ea30ffe9a88
Signed-off-by: David Vincze <david.vincze@arm.com>
diff --git a/platform/ext/common/uart_stdout.h b/platform/ext/common/uart_stdout.h
index dcced8a..5d79398 100644
--- a/platform/ext/common/uart_stdout.h
+++ b/platform/ext/common/uart_stdout.h
@@ -35,4 +35,9 @@
*/
void stdio_init(void);
+/**
+ * \brief Uninitializes the STDIO.
+ */
+void stdio_uninit(void);
+
#endif /* __UART_STDOUT_H__ */