Skip to content

Commit

Permalink
include: arm: nxp_mpu: remove redundant HAL include
Browse files Browse the repository at this point in the history
The inclusion of `fsl_common.h` solely for defining `NXP_MPU_BASE`
is redundant, as this symbol is not used. Consequently, this
unnecessary inclusion leads to the pervasive inclusion of HAL
headers through kernel headers.
The needed HAL definitions are already included into the NXP MPU
driver implementation via the SoC header.

Signed-off-by: Manuel Argüelles <[email protected]>
  • Loading branch information
manuargue authored and mmahadevan108 committed Nov 17, 2023
1 parent 317d070 commit da3d919
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/zephyr/arch/arm/mpu/nxp_mpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@

#ifndef _ASMLANGUAGE

#include <fsl_common.h>

#define NXP_MPU_BASE SYSMPU_BASE

#define NXP_MPU_REGION_NUMBER 12

/* Bus Master User Mode Access */
Expand Down

0 comments on commit da3d919

Please sign in to comment.