Full support for Ginger Console
[linux-ginger.git] / arch / arm / mach-bcmring / include / csp / delay.h
blob8b3d803672938cab619a73be7f9cd18b4d5d7d3b
1 /*****************************************************************************
2 * Copyright 2003 - 2008 Broadcom Corporation. All rights reserved.
4 * Unless you and Broadcom execute a separate written software license
5 * agreement governing use of this software, this software is licensed to you
6 * under the terms of the GNU General Public License version 2, available at
7 * http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
9 * Notwithstanding the above, under no circumstances may you combine this
10 * software in any way with any other Broadcom software provided under a
11 * license other than the GPL, without Broadcom's express prior written
12 * consent.
13 *****************************************************************************/
16 #ifndef CSP_DELAY_H
17 #define CSP_DELAY_H
19 /* ---- Include Files ---------------------------------------------------- */
21 /* Some CSP routines require use of the following delay routines. Use the OS */
22 /* version if available, otherwise use a CSP specific definition. */
23 /* void udelay(unsigned long usecs); */
24 /* void mdelay(unsigned long msecs); */
26 #if defined(__KERNEL__) && !defined(STANDALONE)
27 #include <linux/delay.h>
28 #else
29 #include <mach/csp/delay.h>
30 #endif
32 /* ---- Public Constants and Types --------------------------------------- */
33 /* ---- Public Variable Externs ------------------------------------------ */
34 /* ---- Public Function Prototypes --------------------------------------- */
36 #endif /* CSP_DELAY_H */