Integrate shared block storage into PS and ITS SP deployments

To allow a partitioned block storage device to be used for NV storage
of objects held by the Protected Storage and Internal Trusted
Storage services, backend storage is now delegated to the block_storage
service provider located in a separate SP which owns the physical
storage device.

Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: Ic7e24b4adc04cabde71365d9cbc0b257cd00cc76
diff --git a/deployments/protected-storage/infra/sfs-shared-flash.cmake b/deployments/protected-storage/infra/sfs-shared-flash.cmake
new file mode 100644
index 0000000..6674e16
--- /dev/null
+++ b/deployments/protected-storage/infra/sfs-shared-flash.cmake
@@ -0,0 +1,33 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Lists components that provide an infrastructure layer for the
+# protected-storage service provider that uses the SFS component
+# backed by a storage partition provided by the block storage service.
+#-------------------------------------------------------------------------------
+
+#-------------------------------------------------------------------------------
+# Infrastructure components
+#
+#-------------------------------------------------------------------------------
+add_components(TARGET "protected-storage"
+	BASE_DIR ${TS_ROOT}
+	COMPONENTS
+		"components/common/uuid"
+		"components/rpc/common/caller"
+		"components/rpc/ffarpc/caller/sp"
+		"components/service/locator"
+		"components/service/locator/interface"
+		"components/service/locator/sp"
+		"components/service/locator/sp/ffa"
+		"components/service/secure_storage/backend/secure_flash_store"
+		"components/service/secure_storage/backend/secure_flash_store/flash_fs"
+		"components/service/secure_storage/backend/secure_flash_store/flash"
+		"components/service/secure_storage/backend/secure_flash_store/flash/block_store_adapter"
+		"components/service/secure_storage/factory/sp/sfs_shared_block_store"
+		"components/service/block_storage/block_store"
+		"components/service/block_storage/block_store/client"
+		"components/service/block_storage/factory/client"
+)