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
|
|
|
|
|
2010-05-02 06:38:28 +08:00
|
|
|
#include <mach/common.h>
|
2007-05-01 02:37:19 +08:00
|
|
|
|
2009-07-09 22:56:38 +08:00
|
|
|
static inline void arch_idle(void)
|
2007-05-01 02:37:19 +08:00
|
|
|
{
|
|
|
|
cpu_do_idle();
|
|
|
|
}
|
|
|
|
|
2009-07-09 22:56:38 +08:00
|
|
|
static inline void arch_reset(char mode, const char *cmd)
|
2007-05-01 02:37:19 +08:00
|
|
|
{
|
2010-05-02 06:38:28 +08:00
|
|
|
if (davinci_soc_info.reset)
|
|
|
|
davinci_soc_info.reset(davinci_soc_info.reset_device);
|
2007-05-01 02:37:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* __ASM_ARCH_SYSTEM_H */
|