diff options
author | York Sun <york.sun@nxp.com> | 2016-06-24 16:46:22 -0700 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-07-15 09:01:43 -0700 |
commit | cd4b0c5feaaa524b44889cde8f58d4b121df8fed (patch) | |
tree | 345898936af2911de6880f6313476ae6243376d1 /arch/arm/include/asm/armv8/mmu.h | |
parent | f733d46620d0efb93091f147f81a4bf9588fad3f (diff) | |
download | u-boot-imx-cd4b0c5feaaa524b44889cde8f58d4b121df8fed.zip u-boot-imx-cd4b0c5feaaa524b44889cde8f58d4b121df8fed.tar.gz u-boot-imx-cd4b0c5feaaa524b44889cde8f58d4b121df8fed.tar.bz2 |
armv8: mmu: Add support of non-identical mapping
Introduce virtual and physical addresses in the mapping table. This change
have no impact on existing boards because they all use idential mapping.
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/armv8/mmu.h')
-rw-r--r-- | arch/arm/include/asm/armv8/mmu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h index b7b4706..aa0f3c4 100644 --- a/arch/arm/include/asm/armv8/mmu.h +++ b/arch/arm/include/asm/armv8/mmu.h @@ -135,7 +135,8 @@ static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr) } struct mm_region { - u64 base; + u64 virt; + u64 phys; u64 size; u64 attrs; }; |