Commit 39be5b4a authored by Varun Sethi's avatar Varun Sethi Committed by Kumar Gala

powerpc/booke: Add CPU_FTR_EMB_HV check for e5500.

Added CPU_FTR_EMB_HV feature check for e5500.
Signed-off-by: default avatarVarun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: default avatarMihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 0778407f
...@@ -143,7 +143,13 @@ _GLOBAL(__setup_cpu_e5500) ...@@ -143,7 +143,13 @@ _GLOBAL(__setup_cpu_e5500)
rlwinm. r10,r10,0,MMUCFG_LPIDSIZE rlwinm. r10,r10,0,MMUCFG_LPIDSIZE
beq 1f beq 1f
bl .setup_ehv_ivors bl .setup_ehv_ivors
b 2f
1: 1:
ld r10,CPU_SPEC_FEATURES(r4)
LOAD_REG_IMMEDIATE(r9,CPU_FTR_EMB_HV)
andc r10,r10,r9
std r10,CPU_SPEC_FEATURES(r4)
2:
mtlr r5 mtlr r5
blr blr
#endif #endif
Markdown is supported
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