Skip to content

Commit 383e3a0

Browse files
committed
Revert "[nrf noup] dts: nordic: Add support for BICR generation"
This reverts commit 30b5300. Signed-off-by: Grzegorz Swiderski <[email protected]>
1 parent 9f3f8bc commit 383e3a0

File tree

9 files changed

+1
-226
lines changed

9 files changed

+1
-226
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_bicr.dtsi

Lines changed: 0 additions & 54 deletions
This file was deleted.

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include <nordic/nrf54h20_cpuapp.dtsi>
1010
#include "nrf54h20dk_nrf54h20-common.dtsi"
11-
#include "nrf54h20dk_bicr.dtsi"
1211

1312
/delete-node/ &cpurad_cpusys_ipc;
1413
/delete-node/ &cpusec_cpurad_ipc;

dts/bindings/gpio/nordic,nrf-gpio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: NRF5 GPIO node
55

66
compatible: "nordic,nrf-gpio"
77

8-
include: [gpio-controller.yaml, base.yaml, "nordic,nrf-port-configs.yaml"]
8+
include: [gpio-controller.yaml, base.yaml]
99

1010
properties:
1111
reg:

dts/bindings/gpio/nordic,nrf-port-configs.yaml

Lines changed: 0 additions & 35 deletions
This file was deleted.

dts/bindings/misc/nordic,nrf-bicr.yaml

Lines changed: 0 additions & 118 deletions
This file was deleted.

modules/hal_nordic/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ add_subdirectory_ifdef(CONFIG_HAS_NRFS nrfs)
1111
if(CONFIG_NRF_REGTOOL_GENERATE_UICR)
1212
list(APPEND nrf_regtool_components GENERATE:UICR)
1313
endif()
14-
if(CONFIG_NRF_REGTOOL_GENERATE_BICR)
15-
list(APPEND nrf_regtool_components GENERATE:BICR)
16-
endif()
1714
if(DEFINED nrf_regtool_components)
1815
find_package(nrf-regtool 5.6.0 REQUIRED
1916
COMPONENTS ${nrf_regtool_components}

modules/hal_nordic/Kconfig.nrf_regtool

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ config NRF_REGTOOL_GENERATE_UICR
1111
CPU domains that require UICR allocation aren't bootable without it
1212
being programmed alongside the firmware.
1313

14-
config NRF_REGTOOL_GENERATE_BICR
15-
bool "Generate BICR"
16-
help
17-
Generate a BICR hex based on devicetree contents using nrf-regtool.
18-
If not already present, the BICR must be included alongside
19-
any firmware programmed to the board for the first time.
20-
2114
config NRF_REGTOOL_VERBOSITY
2215
int "Verbosity level of console output"
2316
range 0 3

modules/hal_nordic/nrf-regtool/nrf-regtoolConfig.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ function(nrf_regtool_generate_hex_from_dts peripheral)
2626
)
2727
message(STATUS "Generated ${peripheral} hex file: ${generated_hex_file}")
2828

29-
if(NOT peripheral STREQUAL "UICR")
30-
return()
31-
endif()
32-
3329
set(merged_hex_file ${PROJECT_BINARY_DIR}/${merged_hex_name})
3430
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
3531
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/mergehex.py

soc/nordic/nrf54h/Kconfig.defconfig.nrf54h20_cpuapp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,4 @@ config NUM_IRQS
1111
config NRF_REGTOOL_GENERATE_UICR
1212
default y
1313

14-
config NRF_REGTOOL_GENERATE_BICR
15-
default y
16-
1714
endif # SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP

0 commit comments

Comments
 (0)