Add media top-level directory for storage medium access components

Introduces the top-level media directory for components concerned
with accessing storage media using well-known formats. Reuses
external source code from TF-A where possible.

Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: I5fa2cb24aa33f019df5108e80ccd78f0170e4c0b
diff --git a/external/tf_a/include/lib/utils.h b/external/tf_a/include/lib/utils.h
new file mode 100644
index 0000000..c58e1e7
--- /dev/null
+++ b/external/tf_a/include/lib/utils.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef TF_A_LIB_UTILS_H
+#define TF_A_LIB_UTILS_H
+
+#include <stddef.h>
+#include <string.h>
+
+/**
+ * A stub version of the tf-a lib/utils.h
+ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+static inline void zeromem(void *mem, size_t length)
+{
+    memset(mem, 0, length);
+}
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TF_A_LIB_UTILS_H */