diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-13 08:54:02 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-13 08:54:53 +0200 |
commit | 1e989998de954bef51e6c19cc3d64d39f32100aa (patch) | |
tree | 88cf746b5a2cc44bd9539746b8710449909c4fb4 /rtemsbsd/sys | |
parent | config: Control the interface from the command line net config file. (diff) | |
download | rtems-libbsd-1e989998de954bef51e6c19cc3d64d39f32100aa.tar.bz2 |
if_atsam: Remove WDT_Disable()
The watchdog timer (WDT) can be configure only once. Do not touch it in
the BSP since the application may want to use it.
Diffstat (limited to 'rtemsbsd/sys')
-rw-r--r-- | rtemsbsd/sys/dev/atsam/if_atsam.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/rtemsbsd/sys/dev/atsam/if_atsam.c b/rtemsbsd/sys/dev/atsam/if_atsam.c index 86e232ab..ff8219f4 100644 --- a/rtemsbsd/sys/dev/atsam/if_atsam.c +++ b/rtemsbsd/sys/dev/atsam/if_atsam.c @@ -994,9 +994,6 @@ static void if_atsam_init(void *arg) ifp->if_flags |= IFF_DRV_RUNNING; sc->interrupt_number = GMAC_IRQn; - /* Disable Watchdog */ - WDT_Disable(WDT); - /* Enable Peripheral Clock */ if ((PMC->PMC_PCSR1 & (1u << 7)) != (1u << 7)) { PMC->PMC_PCER1 = 1 << 7; |