Commit ec413b88 authored by davidcunado-arm's avatar davidcunado-arm Committed by GitHub
Browse files

Merge pull request #716 from yatharth-arm/yk/AArch32_porting

AArch32: Fix detection of virtualization support
parents 06fbe472 fabf3017
...@@ -142,7 +142,7 @@ void bl1_prepare_next_image(unsigned int image_id) ...@@ -142,7 +142,7 @@ void bl1_prepare_next_image(unsigned int image_id)
SPSR_E_LITTLE, DISABLE_ALL_EXCEPTIONS); SPSR_E_LITTLE, DISABLE_ALL_EXCEPTIONS);
} else { } else {
/* Use HYP mode if supported else use SVC. */ /* Use HYP mode if supported else use SVC. */
if (GET_VIRT_EXT(read_id_pfr1()) == MODE32_hyp) { if (GET_VIRT_EXT(read_id_pfr1())) {
next_bl_ep->spsr = SPSR_MODE32(MODE32_hyp, SPSR_T_ARM, next_bl_ep->spsr = SPSR_MODE32(MODE32_hyp, SPSR_T_ARM,
SPSR_E_LITTLE, DISABLE_ALL_EXCEPTIONS); SPSR_E_LITTLE, DISABLE_ALL_EXCEPTIONS);
} else { } else {
......
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