summaryrefslogtreecommitdiff
path: root/zephyr/shim/core/cortex-m/mpu.c
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-06-15 17:03:21 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-19 10:48:42 +0000
commiteb9d4b02eaaf0dad3b3ca0b10fcd0734ed3cf524 (patch)
treeb28445d79ddd9586d96c83b861d437261d637f76 /zephyr/shim/core/cortex-m/mpu.c
parentcf5974650d6da4bf88678ea673ea839d475dcd10 (diff)
downloadchrome-ec-eb9d4b02eaaf0dad3b3ca0b10fcd0734ed3cf524.tar.gz
zephyr: Add header for mpu.c
This file can't reference to mpu_config & SYS_INIT. Add header files include to reference those. BUG=none BRANCH=none TEST=zmake testall Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I5ec1a94c24857318192dd2ed79daa3e801463a70 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3033227 Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Diffstat (limited to 'zephyr/shim/core/cortex-m/mpu.c')
-rw-r--r--zephyr/shim/core/cortex-m/mpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/shim/core/cortex-m/mpu.c b/zephyr/shim/core/cortex-m/mpu.c
index 64e5a93db0..24d7948143 100644
--- a/zephyr/shim/core/cortex-m/mpu.c
+++ b/zephyr/shim/core/cortex-m/mpu.c
@@ -7,6 +7,8 @@
#include "mpu.h"
#include "logging/log.h"
#include <arch/arm/aarch32/cortex_m/cmsis.h>
+#include <arch/cpu.h>
+#include <init.h>
LOG_MODULE_REGISTER(shim_mpu, LOG_LEVEL_ERR);