Add direct_fw_inspector
The direct_fw_inspector can be used on platforms where direct
access to fw storage volumes is possible from the update agent
security domain. The direct_fw_inspector uses the set of
registered installers to provide the information needed to
populate the fw_director to provide a fresh view of updatable
images.
Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: Iab6fe5d919a173a32c284dd5567e144692d58dba
diff --git a/components/service/fwu/inspector/direct/component.cmake b/components/service/fwu/inspector/direct/component.cmake
new file mode 100644
index 0000000..5faf786
--- /dev/null
+++ b/components/service/fwu/inspector/direct/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}/direct_fw_inspector.c"
+ )