2 * Copyright 2017 CS Systemes d'Information
4 * SPDX-License-Identifier: GPL-2.0+
9 #include <asm/cpm_8xx.h>
12 void hw_watchdog_reset(void)
14 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR;
16 out_be16(&immap->im_siu_conf.sc_swsr, 0x556c); /* write magic1 */
17 out_be16(&immap->im_siu_conf.sc_swsr, 0xaa39); /* write magic2 */