Changeset 4438c4d8 in rtems


Ignore:
Timestamp:
Nov 2, 2017, 12:27:33 PM (18 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0d796d6
Parents:
4b055e23
git-author:
Sebastian Huber <sebastian.huber@…> (11/02/17 12:27:33)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/02/17 12:44:01)
Message:

bsp/imx: More robust and faster bsp_reset()

Update #3090.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/imx/startup/bspreset.c

    r4b055e23 r4438c4d8  
    2424
    2525  pcr = (volatile uint16_t *) 0x30280000;
    26   *pcr &= ~WDOG_CR_SRS;
    27   *pcr &= ~WDOG_CR_SRS;
    28   *pcr &= ~WDOG_CR_SRS;
     26  *pcr = WDOG_CR_WDE;
     27  *pcr = WDOG_CR_WDE;
     28  *pcr = WDOG_CR_WDE;
    2929
    3030  while (true) {
Note: See TracChangeset for help on using the changeset viewer.