Skip to content

Commit 3353bbc

Browse files
57300kartben
authored andcommitted
drivers: firmware: nrf_ironside: Guard behind CONFIG_NRF_IRONSIDE
Add a promptless symbol that can be selected by different drivers. It is there to ensure that the corresponding library is not added to the build unless it contains at least one source file. Signed-off-by: Grzegorz Swiderski <[email protected]>
1 parent 268e0f5 commit 3353bbc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

drivers/firmware/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
# zephyr-keep-sorted-start
4-
add_subdirectory(nrf_ironside)
54
add_subdirectory_ifdef(CONFIG_ARM_SCMI scmi)
5+
add_subdirectory_ifdef(CONFIG_NRF_IRONSIDE nrf_ironside)
66
# zephyr-keep-sorted-stop

drivers/firmware/nrf_ironside/Kconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Copyright (c) 2025 Nordic Semiconductor ASA
22
# SPDX-License-Identifier: Apache-2.0
33

4+
config NRF_IRONSIDE
5+
bool
6+
depends on SOC_NRF54H20_IRON
7+
help
8+
This is selected by drivers interacting with Nordic IRONside firmware.
9+
410
config NRF_IRONSIDE_CALL
511
bool
612
depends on DT_HAS_NORDIC_IRONSIDE_CALL_ENABLED
7-
depends on SOC_NRF54H20_IRON
13+
select NRF_IRONSIDE
814
select EVENTS
915
select MBOX
1016
help

0 commit comments

Comments
 (0)