zephyr/boards/arm/mps3
Sudan Landge f2e115cca3 arch: arm: fix null pointer dereference check test
What is changed?
Updated the condition thats prevents mpu config for null dereference.
Added a new check so that mpu is configured for null dereference if
devicetree contains a memory-region node with:
 - node address starting at 0
 - size covered by the node is more than the null dereference page
   size (0x400) and
 - contains a memory-attr

Why is the change needed?
The check relied on flash base address to align with 0 for
configuring the mpu for null dereference but, a device tree
could have a flash starting at an address other than 0 and
still need the mpu config for null dereference.
The new extra check provides a way to connfigure mpu for
null dereference even if flash base address is not 0.

Note, though this change helps with mpu config for new boards having
flash address other than 0, this change does not change existing
behaviour for existing boards.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2024-10-26 03:58:05 +01:00
..
doc boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
Kconfig boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
Kconfig.defconfig boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
Kconfig.mps3 boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
board.cmake boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
board.yml boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_common.dtsi arch: arm: fix null pointer dereference check test 2024-10-26 03:58:05 +01:00
mps3_common_soc_peripheral.dtsi boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an547.dts boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an547.yaml boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an547_defconfig boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an547_ns.dts boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an547_ns.yaml boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an547_ns_defconfig boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an552.dts boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an552.yaml boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an552_defconfig boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an552_ns.dts boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an552_ns.yaml boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_an552_ns_defconfig boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_fvp.dts boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_fvp.yaml boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_fvp_defconfig boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_fvp_ns.dts boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_fvp_ns.yaml boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone300_fvp_ns_defconfig boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
mps3_corstone310_an555.dts boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_an555.yaml boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_an555_defconfig boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_an555_ns.dts boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_an555_ns.yaml boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_an555_ns_defconfig boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_fvp.dts boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_fvp.yaml boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_fvp_defconfig boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_fvp_ns.dts boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_fvp_ns.yaml boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
mps3_corstone310_fvp_ns_defconfig boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00