提交 39be5b4a 编写于 作者: V Varun Sethi 提交者: Kumar Gala

powerpc/booke: Add CPU_FTR_EMB_HV check for e5500.

Added CPU_FTR_EMB_HV feature check for e5500.
Signed-off-by: NVarun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: NMihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 0778407f
......@@ -143,7 +143,13 @@ _GLOBAL(__setup_cpu_e5500)
rlwinm. r10,r10,0,MMUCFG_LPIDSIZE
beq 1f
bl .setup_ehv_ivors
b 2f
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
blr
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册