Skip to content

Commit 82d3d26

Browse files
nordicjmrlubos
authored andcommitted
treewide: Remove child/parent image support
Removes support for child/parent image Signed-off-by: Jamie McCrae <[email protected]>
1 parent 58d3d38 commit 82d3d26

File tree

132 files changed

+68
-4067
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+68
-4067
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ endforeach()
2424
include(cmake/extensions.cmake)
2525
include(cmake/version.cmake)
2626
include(cmake/version_app.cmake)
27-
include(cmake/multi_image.cmake)
2827
include(cmake/sdp.cmake)
2928

3029
zephyr_include_directories(include)

Kconfig.nrf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ endif # BUILD_WITH_TFM
2828

2929
menu "Nordic nRF Connect"
3030

31-
# Hides child parent configuration options
32-
config HIDE_CHILD_PARENT_CONFIG
33-
bool
34-
default y if "$(HIDE_CHILD_PARENT_CONFIG)" = "True"
35-
default n
36-
3731
# Override configuration from zephyr which sets this to 0x200 if MCUboot is
3832
# enabled (CONFIG_BOOTLOADER_MCUBOOT), since NCS use partition_manager to
3933
# get this offset intsead.

applications/asset_tracker_v2/boards/native_sim.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ CONFIG_IMG_MANAGER=n
111111
CONFIG_MCUBOOT_IMG_MANAGER=n
112112
CONFIG_IMG_ERASE_PROGRESSIVELY=n
113113
CONFIG_SECURE_BOOT=n
114-
CONFIG_BUILD_S1_VARIANT=n
115114

116115
# Watchdog
117116
CONFIG_WATCHDOG_APPLICATION=n

applications/asset_tracker_v2/boards/thingy91_nrf9160_ns.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ CONFIG_LED_PWM=y
2929

3030
# Disable MCUboot DFU -- incompatible with static partitions
3131
CONFIG_SECURE_BOOT=n
32-
CONFIG_BUILD_S1_VARIANT=n

applications/asset_tracker_v2/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ CONFIG_IMG_MANAGER=y
7777
CONFIG_MCUBOOT_IMG_MANAGER=y
7878
CONFIG_IMG_ERASE_PROGRESSIVELY=y
7979
CONFIG_SECURE_BOOT=y
80-
CONFIG_BUILD_S1_VARIANT=y
8180

8281
# Watchdog
8382
CONFIG_WATCHDOG_APPLICATION=y

applications/machine_learning/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,3 @@ add_subdirectory(common/src/modules)
3939
add_subdirectory(src/events)
4040
add_subdirectory(src/modules)
4141
add_subdirectory(src/util)
42-
43-
if(CONFIG_BT_HCI_IPC AND NOT SYSBUILD)
44-
assert_exists(hci_ipc_CONF_FILE)
45-
endif()

applications/nrf5340_audio/Kconfig.defaults

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ config SYSTEM_WORKQUEUE_STACK_SIZE
2121
config THREAD_NAME
2222
default y
2323

24-
config NCS_INCLUDE_RPMSG_CHILD_IMAGE
25-
default y
26-
2724
# Workaround to not use fatal_error.c in NCS. Note that the system may still
2825
# reset on error depending on the build configuraion
2926
config RESET_ON_FATAL_ERROR

applications/nrf_desktop/CMakeLists.txt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,7 @@ add_subdirectory(src/hw_interface)
4343
add_subdirectory(src/modules)
4444
add_subdirectory(src/util)
4545

46-
if(NOT SYSBUILD AND NOT CONFIG_NCS_IS_VARIANT_IMAGE)
47-
if(CONFIG_BOOTLOADER_MCUBOOT)
48-
assert_exists(mcuboot_CONF_FILE)
49-
endif()
50-
if(CONFIG_SECURE_BOOT)
51-
assert_exists(b0_CONF_FILE)
52-
endif()
53-
if(CONFIG_BT_HCI_IPC)
54-
assert_exists(hci_ipc_CONF_FILE)
55-
endif()
56-
endif()
57-
58-
if (CONFIG_IMG_MANAGER)
46+
if(CONFIG_IMG_MANAGER)
5947
zephyr_library_link_libraries(MCUBOOT_BOOTUTIL)
6048
endif()
6149

boards/nordic/thingy91x/Kconfig.defconfig.nrf5340

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,10 @@ config SECURE_BOOT
9393
config BOOTLOADER_MCUBOOT
9494
default y if BOARD_THINGY91X_NRF5340_CPUAPP || BOARD_THINGY91X_NRF5340_CPUAPP_NS
9595

96-
config ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS
97-
default y if BOARD_THINGY91X_NRF5340_CPUAPP || BOARD_THINGY91X_NRF5340_CPUAPP_NS
98-
9996
config NRF53_UPGRADE_NETWORK_CORE
10097
default y if BOARD_THINGY91X_NRF5340_CPUAPP || BOARD_THINGY91X_NRF5340_CPUAPP_NS
10198

10299
config UPDATEABLE_IMAGE_NUMBER
103100
default 2 if BOARD_THINGY91X_NRF5340_CPUAPP || BOARD_THINGY91X_NRF5340_CPUAPP_NS
104101

105-
config SB_SIGNING_KEY_FILE
106-
default "$(ZEPHYR_NRF_MODULE_DIR)/boards/nordic/thingy91x/nsib_signing_key_nrf5340.pem" if BOARD_THINGY91X_NRF5340_CPUAPP || BOARD_THINGY91X_NRF5340_CPUAPP_NS || BOARD_THINGY91X_NRF5340_CPUNET
107-
108102
endif # !IS_BOOTLOADER_IMG

boards/nordic/thingy91x/Kconfig.defconfig.nrf9151

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ config SECURE_BOOT
6666
config BOOTLOADER_MCUBOOT
6767
default y
6868

69-
# Do not use these keys for own custom boards!
70-
# These are meant as examples and therefore public.
71-
# The documentation of the nRF Secure Immutable Bootloader and MCUBoot detail on how
72-
# to set up your own keys.
73-
74-
config SB_SIGNING_KEY_FILE
75-
default "$(ZEPHYR_NRF_MODULE_DIR)/boards/nordic/thingy91x/nsib_signing_key.pem"
76-
7769
config I2C
7870
default y
7971

0 commit comments

Comments
 (0)