Add disk formatter component

Provides a way of initializing a storage volume. Initially, only
the clone method is currently supported where the contents of a
uint8_t array is used as the initialization data. Uses an
io_dev to initialize the storage volume so it can be used with
any supported storage.

Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: Ieac317abba605451e4ba81773d62fd680309ab19
diff --git a/components/media/disk/formatter/component.cmake b/components/media/disk/formatter/component.cmake
new file mode 100644
index 0000000..27b1110
--- /dev/null
+++ b/components/media/disk/formatter/component.cmake
@@ -0,0 +1,13 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+if (NOT DEFINED TGT)
+	message(FATAL_ERROR "mandatory parameter TGT is not defined.")
+endif()
+
+target_sources(${TGT} PRIVATE
+	"${CMAKE_CURRENT_LIST_DIR}/disk_formatter.c"
+)
\ No newline at end of file