Skip to content
Snippets Groups Projects
Commit e42eca84 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Merged in david_s5/nuttx (pull request #26)

sam_systemreset.c edited online with Bitbucket
parents c41e6d82 051aa427
No related branches found
No related tags found
No related merge requests found
......@@ -77,8 +77,8 @@ void up_systemreset(void)
rstmr = gettreg32(SAM_RSTC_MR);
rstmr &= ~RSTC_MR_ERSTL_MASK;
rstmr &= RSTC_MR_ERSTL(CONFIG_SAMV7_EXTRESET_ERST) | RSTC_MR_KEY;
putreg32(regval, SAM_RSTC_MR);
rstmr &= RSTC_MR_ERSTL(CONFIG_SAMV7_EXTRESET_ERST-1) | RSTC_MR_KEY;
putreg32(rstmr, SAM_RSTC_MR);
#endif
putreg32(regval, SAM_RSTC_CR);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment