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 arch: arm: remove num-mpu-regions 2023-12-01 10:48:00 +00:00
cortex_m arch: arm: remove num-mpu-regions 2023-12-01 10:48:00 +00:00
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 coding guidelines: comply with MISRA Rule 11.8 2024-05-09 10:28:44 +02:00
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 coding guidelines: comply with MISRA Rule 11.8 2024-05-09 10:28:44 +02:00
arm_mpu_v8_internal.h arch: arm: Add initial support for Cortex-M85 Core 2024-06-26 13:36:14 -04:00
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 coding guidelines: comply with MISRA Rule 11.8 2024-05-09 10:28:44 +02:00