mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-13 20:36:02 +01:00
powerpc: mmu: Fix FSL_BOOKE_MAS2() macro
Effective page number mask for MAS2 register is stored in macro MAS2_EPN. Fixes: 2146cf56821c ("Reworked FSL Book-E TLB macros to be more readable") Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
parent
02c8fbdb8d
commit
6b6c377feb
@ -447,7 +447,7 @@ extern void print_bats(void);
|
||||
(((ts) << 12) & MAS1_TS) |\
|
||||
(MAS1_TSIZE(tsize)))
|
||||
#define FSL_BOOKE_MAS2(epn, wimge) \
|
||||
(((epn) & MAS3_RPN) | (wimge))
|
||||
(((epn) & MAS2_EPN) | (wimge))
|
||||
#define FSL_BOOKE_MAS3(rpn, user, perms) \
|
||||
(((rpn) & MAS3_RPN) | (user) | (perms))
|
||||
#define FSL_BOOKE_MAS7(rpn) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user