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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user