modules: hal_infineon: Remove board reference from module cmake
*Removes a reference to kit_pse84_eval from modules cmake file. These
includes aren't board specific.
*Removes reference to non-secure M33, which aren't currently supported.
Signed-off-by: John Batch <john.batch@infineon.com>
diff --git a/modules/hal_infineon/mtb-template-cat1/CMakeLists.txt b/modules/hal_infineon/mtb-template-cat1/CMakeLists.txt
index 08f203f..0807e415 100644
--- a/modules/hal_infineon/mtb-template-cat1/CMakeLists.txt
+++ b/modules/hal_infineon/mtb-template-cat1/CMakeLists.txt
@@ -47,14 +47,10 @@
zephyr_include_directories(${edge_dir}/devices/include)
zephyr_library_sources(${edge_dir}/system_edge.c)
- if(CONFIG_BOARD_KIT_PSE84_EVAL_PSE846GPS2DBZC4A_M33)
- zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M33
- ${edge_dir}/COMPONENT_CM33/COMPONENT_SECURE_DEVICE/s_system_pse84.c)
- zephyr_include_directories(${edge_dir}/COMPONENT_CM33/COMPONENT_SECURE_DEVICE)
- else()
- zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M33
- ${edge_dir}/COMPONENT_CM33/COMPONENT_NON_SECURE_DEVICE/ns_system_pse84.c)
- endif()
- zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M55
- ${edge_dir}/COMPONENT_CM55/COMPONENT_NON_SECURE_DEVICE/ns_system_pse84.c)
+ zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M33
+ ${edge_dir}/COMPONENT_CM33/COMPONENT_SECURE_DEVICE/s_system_pse84.c)
+ zephyr_include_directories_ifdef(CONFIG_CPU_CORTEX_M33
+ ${edge_dir}/COMPONENT_CM33/COMPONENT_SECURE_DEVICE)
+ zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M55
+ ${edge_dir}/COMPONENT_CM55/COMPONENT_NON_SECURE_DEVICE/ns_system_pse84.c)
endif()