[PATCH/RFCv2] [POWERPC] Add support for freescale watchdog to CPM serial driver.

Scott Wood scottwood at freescale.com
Sat Jan 19 04:04:51 EST 2008


Jochen Friedrich wrote:
> +void watchdog_poke(void)
> +{
> +    if (wdt) {
> +        out_be16(&wdt->swsrr, 0x556c);
> +        out_be16(&wdt->swsrr, 0xaa39);
> +    }
> +}

This should be a function pointer, to allow for other watchdog types.

-Scott



More information about the Linuxppc-dev mailing list