diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-06-15 17:03:21 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-19 10:48:42 +0000 |
commit | eb9d4b02eaaf0dad3b3ca0b10fcd0734ed3cf524 (patch) | |
tree | b28445d79ddd9586d96c83b861d437261d637f76 /zephyr | |
parent | cf5974650d6da4bf88678ea673ea839d475dcd10 (diff) | |
download | chrome-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')
-rw-r--r-- | zephyr/shim/core/cortex-m/mpu.c | 2 |
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); |