Skip to content
Commit 3f148d6b authored by Chekhov Ma's avatar Chekhov Ma Committed by Fabio Baltieri
Browse files

arch: arm: mmu: generate mmu region entry from devicetree



Many peripherals have multiple instances, whether each of them
are enabled are not known. Adding all available instances into
"mmu_regions" array may not be the best choice.
This commit adds a macro to generate mmu region entry in "mmu_regions"
from devicetree. Used with "DT_FOREACH_STATUS_OKAY_VARGS", it generates
mmu region entry for all nodes enabled and compatiable to a certain
driver.

Signed-off-by: default avatarChekhov Ma <chekhov.ma@nxp.com>
parent dc6e7aa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment