Path: blob/master/arch/arm/mach-bcmring/include/csp/delay.h
10820 views
/*****************************************************************************1* Copyright 2003 - 2008 Broadcom Corporation. All rights reserved.2*3* Unless you and Broadcom execute a separate written software license4* agreement governing use of this software, this software is licensed to you5* under the terms of the GNU General Public License version 2, available at6* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").7*8* Notwithstanding the above, under no circumstances may you combine this9* software in any way with any other Broadcom software provided under a10* license other than the GPL, without Broadcom's express prior written11* consent.12*****************************************************************************/131415#ifndef CSP_DELAY_H16#define CSP_DELAY_H1718/* ---- Include Files ---------------------------------------------------- */1920/* Some CSP routines require use of the following delay routines. Use the OS */21/* version if available, otherwise use a CSP specific definition. */22/* void udelay(unsigned long usecs); */23/* void mdelay(unsigned long msecs); */2425#if defined(__KERNEL__) && !defined(STANDALONE)26#include <linux/delay.h>27#else28#include <mach/csp/delay.h>29#endif3031/* ---- Public Constants and Types --------------------------------------- */32/* ---- Public Variable Externs ------------------------------------------ */33/* ---- Public Function Prototypes --------------------------------------- */3435#endif /* CSP_DELAY_H */363738