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