summaryrefslogtreecommitdiff
path: root/lib/psci/psci_setup.c
diff options
context:
space:
mode:
authorYatharth Kochar <yatharth.kochar@arm.com>2016-09-23 10:48:29 +0100
committerYatharth Kochar <yatharth.kochar@arm.com>2016-09-23 14:34:29 +0100
commitfabf3017cfbd37d19563b4cb4c3204f09785397b (patch)
treea2672626b99ff919597bc9ec047da79cca4148fe /lib/psci/psci_setup.c
parent03a3042b0430d962641694a49c41d3b166a64d0d (diff)
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
Diffstat (limited to 'lib/psci/psci_setup.c')
0 files changed, 0 insertions, 0 deletions