[Bug 2037] sparc/erc32(sis) build fails when BSP_RESET_BOARD_AT_EXIT is defined (bsp_reset is missing).

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Mar 7 23:01:18 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2037

--- Comment #3 from Wendell P Silva <silvawp at gmail.com> 2012-03-07 17:01:18 CST ---
Probably this one should be good enough:

void bsp_reset(void)
{
  ERC32_MEC.Control |= ERC32_CONFIGURATION_SOFTWARE_RESET_ALLOWED;
  ERC32_MEC.Software_Reset = 1; /* value is irrelevant */
}

Seems it works.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list