blob: 86c6f83b44cc15cd22e86afbc5a6d7788f923336 [file] [log] [blame]
viresh kumarbf976b52010-04-01 12:30:42 +01001/*
2 * arch/arm/plat-spear/include/plat/system.h
3 *
4 * SPEAr platform specific architecture functions
5 *
6 * Copyright (C) 2009 ST Microelectronics
7 * Viresh Kumar<viresh.kumar@st.com>
8 *
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
12 */
13
14#ifndef __PLAT_SYSTEM_H
15#define __PLAT_SYSTEM_H
16
viresh kumarbf976b52010-04-01 12:30:42 +010017static inline void arch_idle(void)
18{
19 /*
20 * This should do all the clock switching
21 * and wait for interrupt tricks
22 */
23 cpu_do_idle();
24}
25
viresh kumarbf976b52010-04-01 12:30:42 +010026#endif /* __PLAT_SYSTEM_H */