mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 22:05:40 +00:00
Merge "SPE: Fix feature detection" into integration
This commit is contained in:
commit
8f5426cc4b
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ bool spe_supported(void)
|
||||||
uint64_t features;
|
uint64_t features;
|
||||||
|
|
||||||
features = read_id_aa64dfr0_el1() >> ID_AA64DFR0_PMS_SHIFT;
|
features = read_id_aa64dfr0_el1() >> ID_AA64DFR0_PMS_SHIFT;
|
||||||
return (features & ID_AA64DFR0_PMS_MASK) == 1U;
|
return (features & ID_AA64DFR0_PMS_MASK) > 0ULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void spe_enable(bool el2_unused)
|
void spe_enable(bool el2_unused)
|
||||||
|
|
Loading…
Add table
Reference in a new issue