mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Move most macro definitions and prototypes into "arch/arm/include/asm/imx-common/sys_proto.h" to avoid duplicated function prototypes and marco definitions for different i.MX SoCs. This patch do not remove the sys_proto.h for different i.MX SoCs, because we need to modify lots of driver code and others. This patch remove duplicated macros and prototypes and incude "sys_proto.h" of imx-common for each sys_proto.h of different i.MX platforms. Then later we should avoid add stuff in sys_proto.h of each platform, and modify driver to include common sys_proto.h. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>
		
			
				
	
	
		
			22 lines
		
	
	
		
			391 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			391 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * (C) Copyright 2011
 | 
						|
 * Helmut Raiger, HALE electronic GmbH, helmut.raiger@hale.at
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _MX31_SYS_PROTO_H_
 | 
						|
#define _MX31_SYS_PROTO_H_
 | 
						|
 | 
						|
#include <asm/imx-common/sys_proto.h>
 | 
						|
 | 
						|
struct mxc_weimcs {
 | 
						|
	u32 upper;
 | 
						|
	u32 lower;
 | 
						|
	u32 additional;
 | 
						|
};
 | 
						|
 | 
						|
void mxc_setup_weimcs(int cs, const struct mxc_weimcs *weimcs);
 | 
						|
int mxc_mmc_init(bd_t *bis);
 | 
						|
#endif
 |