xtensa: intel_adsp: Lock vecbase after initial setup
Lock the vecbase register after the hw initialization.
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
diff --git a/soc/xtensa/intel_adsp/common/boot.c b/soc/xtensa/intel_adsp/common/boot.c
index 0c1d4a0..75eed9d 100644
--- a/soc/xtensa/intel_adsp/common/boot.c
+++ b/soc/xtensa/intel_adsp/common/boot.c
@@ -154,6 +154,8 @@
parse_manifest();
sys_cache_data_flush_all();
+ xtensa_vecbase_lock();
+
/* Zephyr! */
extern FUNC_NORETURN void z_cstart(void);
z_cstart();