diff --git a/boards/arm/samv7/common/src/sam_boot_image.c b/boards/arm/samv7/common/src/sam_boot_image.c index b3bf55cb58..e6934a555c 100644 --- a/boards/arm/samv7/common/src/sam_boot_image.c +++ b/boards/arm/samv7/common/src/sam_boot_image.c @@ -36,6 +36,10 @@ #include "arm_internal.h" #include "barriers.h" +#ifdef CONFIG_ARM_MPU +# include "mpu.h" +#endif + #ifdef CONFIG_BOARDCTL_BOOT_IMAGE /****************************************************************************