Skip to content

Commit

Permalink
boards: nordic: nrf7002dk: Remove NS variants
Browse files Browse the repository at this point in the history
The NS variants need crypto changes from NCS, so, remove it from
upstream till their support is upstreamed.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 authored and nashif committed Oct 11, 2024
1 parent 9472f84 commit 10d4973
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 275 deletions.
4 changes: 1 addition & 3 deletions boards/nordic/nrf7002dk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

if((CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP OR
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NS OR
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 OR
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS) AND
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001) AND
CONFIG_BOARD_ENABLE_CPUNET)
zephyr_library()
zephyr_library_sources(nrf5340_cpunet_reset.c)
Expand Down
6 changes: 1 addition & 5 deletions boards/nordic/nrf7002dk/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ config MBOX_NRFX_IPC
default MBOX

if BOARD_NRF7002DK_NRF5340_CPUAPP || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NS || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001

config BT_HCI_IPC
default y if BT
Expand Down Expand Up @@ -60,9 +58,7 @@ config BT_ECC
config DOMAIN_CPUAPP_BOARD
string
default "nrf7002dk/nrf5340/cpuapp" if BOARD_NRF7002DK_NRF5340_CPUAPP
default "nrf7002dk/nrf5340/cpuapp/ns" if BOARD_NRF7002DK_NRF5340_CPUAPP_NS
default "nrf7002dk/nrf5340/cpuapp/nrf7001" if BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001
default "nrf7002dk/nrf5340/cpuapp/nrf7001/ns" if BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS
help
The board which will be used for CPUAPP domain when creating a multi
image application where one or more images should be located on
Expand Down
76 changes: 0 additions & 76 deletions boards/nordic/nrf7002dk/Kconfig.defconfig

This file was deleted.

4 changes: 1 addition & 3 deletions boards/nordic/nrf7002dk/Kconfig.nrf7002dk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
config BOARD_NRF7002DK
select SOC_NRF5340_CPUNET_QKAA if BOARD_NRF7002DK_NRF5340_CPUNET
select SOC_NRF5340_CPUAPP_QKAA if BOARD_NRF7002DK_NRF5340_CPUAPP || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NS || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001
13 changes: 1 addition & 12 deletions boards/nordic/nrf7002dk/board.cmake
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NS OR
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS)
set(TFM_PUBLIC_KEY_FORMAT "full")
endif()

if(CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP OR
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NS OR
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 OR
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS)
CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001)
board_runner_args(jlink "--device=nrf5340_xxaa_app" "--speed=4000")
endif()

if(CONFIG_TFM_FLASH_MERGED_BINARY)
set_property(TARGET runners_yaml_props_target PROPERTY hex_file "${CMAKE_BINARY_DIR}/zephyr/tfm_merged.hex")
endif()

if(CONFIG_BOARD_NRF7002DK_NRF5340_CPUNET)
board_runner_args(jlink "--device=nrf5340_xxaa_net" "--speed=4000")
endif()
Expand Down
4 changes: 0 additions & 4 deletions boards/nordic/nrf7002dk/board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@ board:
socs:
- name: nrf5340
variants:
- name: ns
cpucluster: cpuapp
- name: nrf7001
cpucluster: cpuapp
variants:
- name: ns
40 changes: 0 additions & 40 deletions boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_nrf7001_ns.dts

This file was deleted.

19 changes: 0 additions & 19 deletions boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_nrf7001_ns.yaml

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_ns.dts

This file was deleted.

19 changes: 0 additions & 19 deletions boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_ns.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_ns_defconfig

This file was deleted.

0 comments on commit 10d4973

Please sign in to comment.