2007-04-30 14:37:19 -04:00
|
|
|
/*
|
|
|
|
* DaVinci system defines
|
|
|
|
*
|
|
|
|
* Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
|
|
|
|
*
|
|
|
|
* 2007 (c) MontaVista Software, Inc. This file is licensed under
|
|
|
|
* the terms of the GNU General Public License version 2. This program
|
|
|
|
* is licensed "as is" without any warranty of any kind, whether express
|
|
|
|
* or implied.
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_SYSTEM_H
|
|
|
|
#define __ASM_ARCH_SYSTEM_H
|
|
|
|
|
2008-09-06 07:10:45 -04:00
|
|
|
#include <linux/io.h>
|
2008-08-05 11:14:15 -04:00
|
|
|
#include <mach/hardware.h>
|
2007-04-30 14:37:19 -04:00
|
|
|
|
|
|
|
extern void davinci_watchdog_reset(void);
|
|
|
|
|
|
|
|
static void arch_idle(void)
|
|
|
|
{
|
|
|
|
cpu_do_idle();
|
|
|
|
}
|
|
|
|
|
2009-03-19 12:20:24 -04:00
|
|
|
static void arch_reset(char mode, const char *cmd)
|
2007-04-30 14:37:19 -04:00
|
|
|
{
|
|
|
|
davinci_watchdog_reset();
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* __ASM_ARCH_SYSTEM_H */
|