mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 08:14:06 +00:00 
			
		
		
		
	 9133760f4b
			
		
	
	
		9133760f4b
		
	
	
	
	
		
			
			add misc wrapper headers for csp code add ddrc register header file Signed-off-by: Leo Chen <leochen@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /*****************************************************************************
 | |
| * Copyright 2003 - 2008 Broadcom Corporation.  All rights reserved.
 | |
| *
 | |
| * Unless you and Broadcom execute a separate written software license
 | |
| * agreement governing use of this software, this software is licensed to you
 | |
| * under the terms of the GNU General Public License version 2, available at
 | |
| * http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
 | |
| *
 | |
| * Notwithstanding the above, under no circumstances may you combine this
 | |
| * software in any way with any other Broadcom software provided under a
 | |
| * license other than the GPL, without Broadcom's express prior written
 | |
| * consent.
 | |
| *****************************************************************************/
 | |
| 
 | |
| 
 | |
| #ifndef CSP_DELAY_H
 | |
| #define CSP_DELAY_H
 | |
| 
 | |
| /* ---- Include Files ---------------------------------------------------- */
 | |
| 
 | |
| /* Some CSP routines require use of the following delay routines. Use the OS */
 | |
| /* version if available, otherwise use a CSP specific definition. */
 | |
| /* void udelay(unsigned long usecs); */
 | |
| /* void mdelay(unsigned long msecs); */
 | |
| 
 | |
| #if defined(__KERNEL__) && !defined(STANDALONE)
 | |
|    #include <linux/delay.h>
 | |
| #else
 | |
|    #include <mach/csp/delay.h>
 | |
| #endif
 | |
| 
 | |
| /* ---- Public Constants and Types --------------------------------------- */
 | |
| /* ---- Public Variable Externs ------------------------------------------ */
 | |
| /* ---- Public Function Prototypes --------------------------------------- */
 | |
| 
 | |
| #endif /*  CSP_DELAY_H */
 |