 cc22b4c185
			
		
	
	
	cc22b4c185
	
	
	
		
			
			Convert the incorrectly named PCIMEM_BASE to a variable called vga_base. This removes the dependency on mach/hardware.h. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			591 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			591 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * arch/arm/mach-dove/include/mach/hardware.h
 | |
|  *
 | |
|  * This file is licensed under the terms of the GNU General Public
 | |
|  * License version 2.  This program is licensed "as is" without any
 | |
|  * warranty of any kind, whether express or implied.
 | |
|  */
 | |
| 
 | |
| #ifndef __ASM_ARCH_HARDWARE_H
 | |
| #define __ASM_ARCH_HARDWARE_H
 | |
| 
 | |
| #include "dove.h"
 | |
| 
 | |
| /* Macros below are required for compatibility with PXA AC'97 driver.	*/
 | |
| #define __REG(x)	(*((volatile u32 *)((x) - DOVE_SB_REGS_PHYS_BASE + \
 | |
| 				DOVE_SB_REGS_VIRT_BASE)))
 | |
| #define __PREG(x)	(((u32)&(x)) - DOVE_SB_REGS_VIRT_BASE + \
 | |
| 		DOVE_SB_REGS_PHYS_BASE)
 | |
| #endif
 |