mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 20:42:39 +00:00 
			
		
		
		
	 bcc0f6af07
			
		
	
	
		bcc0f6af07
		
	
	
	
	
		
			
			- Add some more peripherals (sdcc, etc) to the iomap. - Remove virtual base addresses for devices that we should be passing physical addresses to drivers via resources and ioremap()ing. - don't try to use uarts for ll debug once the mmu is enabled due to problems with the peripheral window - make base addresses void __iomem * and fixup irq.c and timer.c - Remove common.c and bring in devices.c/devices.h similar to the PXA architecture. Signed-off-by: Brian Swetland <swetland@google.com>
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /* linux/arch/arm/mach-msm/devices.h
 | |
|  *
 | |
|  * Copyright (C) 2008 Google, Inc.
 | |
|  *
 | |
|  * This software is licensed under the terms of the GNU General Public
 | |
|  * License version 2, as published by the Free Software Foundation, and
 | |
|  * may be copied, distributed, and modified under those terms.
 | |
|  *
 | |
|  * This program is distributed in the hope that it will be useful,
 | |
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | |
|  * GNU General Public License for more details.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef __ARCH_ARM_MACH_MSM_DEVICES_H
 | |
| #define __ARCH_ARM_MACH_MSM_DEVICES_H
 | |
| 
 | |
| extern struct platform_device msm_device_uart1;
 | |
| extern struct platform_device msm_device_uart2;
 | |
| extern struct platform_device msm_device_uart3;
 | |
| 
 | |
| extern struct platform_device msm_device_sdc1;
 | |
| extern struct platform_device msm_device_sdc2;
 | |
| extern struct platform_device msm_device_sdc3;
 | |
| extern struct platform_device msm_device_sdc4;
 | |
| 
 | |
| extern struct platform_device msm_device_hsusb;
 | |
| 
 | |
| extern struct platform_device msm_device_i2c;
 | |
| 
 | |
| extern struct platform_device msm_device_smd;
 | |
| 
 | |
| extern struct platform_device msm_device_nand;
 | |
| 
 | |
| #endif
 |