SPM: Only loads partition irqs when exist

In case of no irqs in all partitions, there is no need
to keep the partition irqs load logic code and irqs context
in partition load info.
This patch decrease 200 bytes code size.

Signed-off-by: Sherry Zhang <sherry.zhang2@arm.com>
Change-Id: I93f72fb180aac7035f51ed8af4700220d54feb85
diff --git a/tools/config_impl.cmake.template b/tools/config_impl.cmake.template
index 00bd4ed..721603d 100644
--- a/tools/config_impl.cmake.template
+++ b/tools/config_impl.cmake.template
@@ -16,4 +16,7 @@
     if((CONFIG_TFM_FP GREATER 0) AND CONFIG_TFM_SPM_BACKEND_SFN)
         message(FATAL_ERROR "FP is not supported for SFN model.")
     endif()
+
+    set(CONFIG_TFM_FLIH_API     {{config_impl['CONFIG_TFM_FLIH_API']}}    PARENT_SCOPE)
+    set(CONFIG_TFM_SLIH_API     {{config_impl['CONFIG_TFM_SLIH_API']}}    PARENT_SCOPE)
 endif()