dts: Move to 'zephyr,memory-attr'
Move to 'zephyr,memory-attr' and use the newly introduced helpers. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
7483e43f0c
commit
15e84cbfac
36 changed files with 55 additions and 186 deletions
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/linker/devicetree_regions.h>
|
||||
#include "../../common/cortex_m/arm_mpu_mem_cfg.h"
|
||||
|
||||
static const struct arm_mpu_region mpu_regions[] = {
|
||||
|
@ -32,7 +31,7 @@ static const struct arm_mpu_region mpu_regions[] = {
|
|||
#endif
|
||||
|
||||
/* DT-defined regions */
|
||||
LINKER_DT_REGION_MPU(ARM_MPU_REGION_INIT)
|
||||
DT_MEMORY_ATTR_APPLY(ARM_MPU_REGION_INIT)
|
||||
};
|
||||
|
||||
const struct arm_mpu_config mpu_config = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue