[U-Boot] [PATCH 04/12] sunxi: Implement reset_cpu
Ian Campbell
ijc at hellion.org.uk
Fri May 30 11:48:12 CEST 2014
On Fri, 2014-05-30 at 11:06 +0200, Hans de Goede wrote:
> There is no way to reset the cpu, so use the watchdog for this.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Acked-by: Ian Campbell <ijc at hellion.org.uk>
One nit
> +#define WDT_CTRL_RESTART (0x1 << 0)
> +#define WDT_CTRL_KEY (0x0a57 << 1)
Some sort of whitespace snafuu I think.
> +#define WDT_MODE_EN (0x1 << 0)
> +#define WDT_MODE_RESET_EN (0x1 << 1)
> +
> #ifndef __ASSEMBLY__
>
> #include <linux/types.h>
More information about the U-Boot
mailing list