zephyr/arch/arm/core/mpu
Sudan Landge ce60dd2a27 arch: arm: fix mpu compiler warnings
What is the change?
 - Use a macro that search for "zephyr, memory-attr" in only
   those nodes that have the property "zephyr, memory-regions".
 - Fixes #83448.

Why is this needed?
 - Using `DT_REG_ADDR` inside `DT_FOREACH_STATUS_OKAY_NODE_VARGS` can
   lead to compiler warnings if a devicetree node has an addresses
   larger than 64bits. An example of such node is wm8904 i3c with 92
   bit encoding addresses `audio_codec: wm8904@1a0000000000000000`.
   We can avoid this warning since this is not applicable for nodes
   that have the attribute "zephyr,memory-regions".

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-02-06 03:15:48 +01:00
..
cortex_a_r
cortex_m
arm_core_mpu_dev.h arch: arm: rename CPU_HAS_NXP_MPU to align with binding 2024-12-06 22:23:06 +01:00
arm_core_mpu.c
arm_mpu_regions.c arm: mpu: Remove FLASH_0 mpu region when XIP=n 2024-12-06 18:20:48 +01:00
arm_mpu_v7_internal.h
arm_mpu_v8_internal.h
arm_mpu.c arch: arm: fix mpu compiler warnings 2025-02-06 03:15:48 +01:00
CMakeLists.txt arch: arm: rename CPU_HAS_NXP_MPU to align with binding 2024-12-06 22:23:06 +01:00
Kconfig arch: Changes MPU alignment to 128 when FPU_SHARING and MPU_STACK_GUARD 2025-01-22 10:48:02 +01:00
nxp_mpu.c