mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -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
This commit is contained in:
parent
03a07de0d5
commit
ce2f34ade8
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