Skip to content
Commit 37a5158d authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Carles Cufí
Browse files

soc: arm: nxp_imx: rt5xx: cleanup core if booting from bootloader



Cleanup core if booting from bootloader using RT5xx. This is required
because the call to SystemInit will push data to the stack, and the
bootloader may have configured stack limits or MPU settings. Either
would cause the core to fault if these settings are not first
cleaned up.

Perform this cleanup if the boot header is not present, as in this case
the application was likely kicked off via a bootloader.

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 86ae9512
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment