diff options
author | Varun Sethi <Varun.Sethi@freescale.com> | 2012-07-09 09:04:01 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2012-09-12 15:57:09 -0400 |
commit | 39be5b4a7f232870aad0b3c130791eacd0d34347 (patch) | |
tree | 7731588df2a43e42dae67d47f2b0de2ced2401be /arch/powerpc | |
parent | 0778407f836d632cce90e5d9df490a7c5e6e398a (diff) |
powerpc/booke: Add CPU_FTR_EMB_HV check for e5500.
Added CPU_FTR_EMB_HV feature check for e5500.
Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/cpu_setup_fsl_booke.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cpu_setup_fsl_booke.S b/arch/powerpc/kernel/cpu_setup_fsl_booke.S index 1345e1bc748a..dcd881937f7a 100644 --- a/arch/powerpc/kernel/cpu_setup_fsl_booke.S +++ b/arch/powerpc/kernel/cpu_setup_fsl_booke.S | |||
@@ -143,7 +143,13 @@ _GLOBAL(__setup_cpu_e5500) | |||
143 | rlwinm. r10,r10,0,MMUCFG_LPIDSIZE | 143 | rlwinm. r10,r10,0,MMUCFG_LPIDSIZE |
144 | beq 1f | 144 | beq 1f |
145 | bl .setup_ehv_ivors | 145 | bl .setup_ehv_ivors |
146 | b 2f | ||
146 | 1: | 147 | 1: |
148 | ld r10,CPU_SPEC_FEATURES(r4) | ||
149 | LOAD_REG_IMMEDIATE(r9,CPU_FTR_EMB_HV) | ||
150 | andc r10,r10,r9 | ||
151 | std r10,CPU_SPEC_FEATURES(r4) | ||
152 | 2: | ||
147 | mtlr r5 | 153 | mtlr r5 |
148 | blr | 154 | blr |
149 | #endif | 155 | #endif |