blob: e65629c20769047ec4900d89f3bee1e09ac552fc [file] [log] [blame]
Russell Kinga09e64f2008-08-05 16:14:15 +01001/*
2 * DaVinci system defines
3 *
4 * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
5 *
6 * 2007 (c) MontaVista Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
9 * or implied.
10 */
11#ifndef __ASM_ARCH_SYSTEM_H
12#define __ASM_ARCH_SYSTEM_H
13
Cyril Chemparathyc78a5bc2010-05-01 18:38:28 -040014#include <mach/common.h>
Russell Kinga09e64f2008-08-05 16:14:15 +010015
Sekhar Nori6077d262009-07-09 20:26:38 +053016static inline void arch_idle(void)
Russell Kinga09e64f2008-08-05 16:14:15 +010017{
18 cpu_do_idle();
19}
20
Sekhar Nori6077d262009-07-09 20:26:38 +053021static inline void arch_reset(char mode, const char *cmd)
Russell Kinga09e64f2008-08-05 16:14:15 +010022{
Cyril Chemparathyc78a5bc2010-05-01 18:38:28 -040023 if (davinci_soc_info.reset)
24 davinci_soc_info.reset(davinci_soc_info.reset_device);
Russell Kinga09e64f2008-08-05 16:14:15 +010025}
26
27#endif /* __ASM_ARCH_SYSTEM_H */