Commit 6af4ab57 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: move MPU constants from .data to .ref.rodata



MPU attribute mapping table is R/O, move it from .data to __REFCONST
(as the rest of the _startup code where initialize_cacheattr is used is
in the __REF section). This allows executing initialize_cacheattr before
the data section of the XIP kernel is relocated to its place.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 6591685d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment