diff options
author | Tom Rini <trini@konsulko.com> | 2024-06-16 09:10:13 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-06-16 09:10:13 -0600 |
commit | e242cd95130b64cf91692da41363ac59b25fc08d (patch) | |
tree | b3b167faa221aff7adf419741acbc0c1e39833a6 /arch/powerpc/cpu/mpc83xx/cpu.c | |
parent | d8c213c9c7f827a9de0096bb4e5247c9a07bb248 (diff) | |
parent | 85c476759a42dfedb2d66e9734f8c05b7cfb62d5 (diff) |
Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-watchdog into next
- misc cyclic infrastructure improvements (Rasmus)
- watchdog_reset cleanup (Rasmus)
CI: https://dev.azure.com/sr0718/u-boot/_build/results?buildId=369&view=results
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx/cpu.c')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/cpu.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c index e0be938ea98..3c8cbd4252d 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu.c +++ b/arch/powerpc/cpu/mpc83xx/cpu.c @@ -164,21 +164,6 @@ unsigned long get_tbclk(void) } #endif -#if defined(CONFIG_WATCHDOG) && !defined(CONFIG_WDT) -void watchdog_reset (void) -{ - int re_enable = disable_interrupts(); - - /* Reset the 83xx watchdog */ - volatile immap_t *immr = (immap_t *) CONFIG_SYS_IMMR; - immr->wdt.swsrr = 0x556c; - immr->wdt.swsrr = 0xaa39; - - if (re_enable) - enable_interrupts(); -} -#endif - /* * Initializes on-chip MMC controllers. * to override, implement board_mmc_init() |