2007-05-01 02:37:19 +08: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 19:10:45 +08:00
|
|
|
#include <linux/io.h>
|
2008-08-05 23:14:15 +08:00
|
|
|
#include <mach/hardware.h>
|
2007-05-01 02:37:19 +08:00
|
|
|
|
|
|
|
extern void davinci_watchdog_reset(void);
|
|
|
|
|
|
|
|
static void arch_idle(void)
|
|
|
|
{
|
|
|
|
cpu_do_idle();
|
|
|
|
}
|
|
|
|
|
|
|
|
static void arch_reset(char mode)
|
|
|
|
{
|
|
|
|
davinci_watchdog_reset();
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* __ASM_ARCH_SYSTEM_H */
|