Skip to content
Commit dfb80526 authored by Luuk Bosma's avatar Luuk Bosma Committed by Johan Hedberg
Browse files

arch: arm: aarch32: clear CONTROL.FPCA for every CPU that has a FPU



Upon reset, the CONTROL.FPCA bit is, normally, cleared. However,
it might be left un-cleared by firmware running before Zephyr boot,
for example when Zephyr image is loaded by another image.
We must clear this bit to prevent errors in exception unstacking.
This caused stack offset when booting from a build-in EFM32GG bootloader

Fixes #22977

Signed-off-by: default avatarLuuk Bosma <l.bosma@interay.com>
parent cc21aba5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment