soc: common: nordic_nrf: move pinctrl_soc.h to a common dir

Because both, RISC-V and ARM cores share the same pinctrl driver. The
top level common folder will disappear with the introduction of HWMv2,
where multi-arch SoCs will be well supported.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-02-01 10:40:53 +01:00 committed by Carles Cufí
commit d7dc942382
5 changed files with 11 additions and 1 deletions

View file

@ -9,6 +9,8 @@ if(_SOC_IS_IN_TREE)
endif()
unset(_SOC_IS_IN_TREE)
add_subdirectory(common)
if(EXISTS ${SOC_DIR}/${ARCH}/CMakeLists.txt)
add_subdirectory(${SOC_DIR}/${ARCH} soc/${ARCH})
else()