AArch32: Fix detection of virtualization support
The Virtualization field in the ID_PFR1 register has only 2
valid values (0 or 1) but it was incorrectly checked against
unrelated value tied to the SPSR register instead.

This patch fixes the detection of virtualization support by
using the valid values in BL1 context management code.

Change-Id: If12592e343770e1da90f0f5fecf0a3376047ac29
1 parent 03a3042 commit fabf3017cfbd37d19563b4cb4c3204f09785397b
@Yatharth Kochar Yatharth Kochar authored on 23 Sep 2016
Showing 1 changed file
View
bl1/aarch32/bl1_context_mgmt.c