Skip to content
Commit be6cf5c2 authored by Jaro Van Landschoot's avatar Jaro Van Landschoot Committed by Fabio Baltieri
Browse files

soc: arm: atmel_sam: Sys_arch_reboot using RSTC



The previous implementation of the sys_arch_reboot function
for the Atmel SAM series was using NVIC_SystemReset.
This caused a reboot time of around 20 seconds on a SAM4SA16CA,
which is now reduced by directly writing to the
reset controller control register (RSTC_CR).

Signed-off-by: default avatarJaro Van Landschoot <jaro.vanlandschoot@basalte.be>
Co-authored-by: default avatarGerson Fernando Budke <nandojve@gmail.com>
parent 6342aa3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment