mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
arm: Disable the VFP during boot
The VFP code expects the kernel to boot with VFP disabled, but some
boards will boot with it enabled. Make sure that vfp_init() disables
the VFP on each CPU during boot.
PR: 273752
Reviewed by: andrew
Diagnosed by: Thomas Skibo <thomas-bsd@skibo.net>
MFC after: 1 week
(cherry picked from commit ce2f34ade8)
This commit is contained in:
parent
42d1aa8862
commit
f5ae760cfe
1 changed files with 2 additions and 0 deletions
|
|
@ -181,6 +181,8 @@ vfp_init(void)
|
|||
elf_hwcap |= HWCAP_VFPv4;
|
||||
}
|
||||
|
||||
vfp_disable();
|
||||
|
||||
/* initialize the coprocess 10 and 11 calls
|
||||
* These are called to restore the registers and enable
|
||||
* the VFP hardware.
|
||||
|
|
|
|||
Loading…
Reference in a new issue