soc: nordic: nrf54h: make soc.h available to non-ARM CPUs

This file contains generic macros needed on non-ARM Nordic CPUs.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
This commit is contained in:
Nikodem Kastelik 2024-04-12 13:41:36 +02:00 committed by Fabio Baltieri
parent 03cb84ffda
commit a7a6119bf9
1 changed files with 2 additions and 1 deletions

View File

@ -2,10 +2,11 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_ARM)
zephyr_include_directories(.)
zephyr_library_sources(soc.c)
endif()
zephyr_include_directories(.)
# Ensure that image size aligns with 16 bytes so that MRAMC finalizes all writes
# for the image correctly
zephyr_linker_sources(SECTIONS SORT_KEY zzz_place_align_at_end align.ld)