Convert PCIBIOS_MIN_IO and PCIBIOS_MIN_MEM to variables to allow multi-platform builds. This also removes the requirement for a platform to have a mach/hardware.h. The default values for i/o and mem are 0x1000 and 0x01000000, respectively. Per Arnd Bergmann, other values are likely to be incorrect, but this commit does not try to address that issue. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			625 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			625 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * arch/arm/mach-ixp23xx/include/mach/hardware.h
 | 
						|
 *
 | 
						|
 * Copyright (C) 2002-2004 Intel Corporation.
 | 
						|
 * Copyricht (C) 2005 MontaVista Software, Inc.
 | 
						|
 *
 | 
						|
 * This program is free software; you can redistribute it and/or modify
 | 
						|
 * it under the terms of the GNU General Public License version 2 as
 | 
						|
 * published by the Free Software Foundation.
 | 
						|
 *
 | 
						|
 * Hardware definitions for IXP23XX based systems
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __ASM_ARCH_HARDWARE_H
 | 
						|
#define __ASM_ARCH_HARDWARE_H
 | 
						|
 | 
						|
/* PCI IO info */
 | 
						|
 | 
						|
#include "ixp23xx.h"
 | 
						|
 | 
						|
/*
 | 
						|
 * Platform helper functions
 | 
						|
 */
 | 
						|
#include "platform.h"
 | 
						|
 | 
						|
/*
 | 
						|
 * Platform-specific headers
 | 
						|
 */
 | 
						|
#include "ixdp2351.h"
 | 
						|
 | 
						|
 | 
						|
#endif
 |