Skip to content

Commit

Permalink
Merge pull request #520 from petemoore/fix-cptr_el3
Browse files Browse the repository at this point in the history
Fix CPTR_EL3 to match raspberrypi/tools#123
  • Loading branch information
rsta2 authored Dec 10, 2024
2 parents 43ba225 + a292cdb commit 27c165b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions boot/armstub/armstub8.S
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@ _start:
msr CNTVOFF_EL2, xzr

/* Enable FP/SIMD */
/* All set bits below are res1; bit 10 (TFP) is set to 0 */
mov x0, #0x33ff
msr CPTR_EL3, x0
/* bit 10 (TFP) set to 0 */
msr CPTR_EL3, xzr

/* Set up SCR */
mov x0, #SCR_VAL
Expand Down

0 comments on commit 27c165b

Please sign in to comment.