1 /*
2 * Copyright (C) 2009 ST-Ericsson.
3 *
4 * This file is licensed under the terms of the GNU General Public
5 * License version 2. This program is licensed "as is" without any
6 * warranty of any kind, whether express or implied.
7 */
8 #ifndef __ASM_ARCH_SYSTEM_H
9 #define __ASM_ARCH_SYSTEM_H
10
arch_idle(void)11 static inline void arch_idle(void)
12 {
13 /*
14 * This should do all the clock switching
15 * and wait for interrupt tricks
16 */
17 cpu_do_idle();
18 }
19
arch_reset(char mode,const char * cmd)20 static inline void arch_reset(char mode, const char *cmd)
21 {
22 /* yet to be implemented - TODO */
23 }
24
25 #endif
26