mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	For most source files we can just drop <common.h>. We need to add an include for <asm/u-boot.h> in a couple of places. Also sort the include list in memmap-gen3.c while we're here. Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			406 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			406 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * RMOBILE EtherMAC initialization.
 | |
|  *
 | |
|  * Copyright (C) 2012  Renesas Solutions Corp.
 | |
|  * Copyright (C) 2012  Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
 | |
|  */
 | |
| 
 | |
| #include <net.h>
 | |
| #include <linux/errno.h>
 | |
| #include <netdev.h>
 | |
| 
 | |
| int cpu_eth_init(struct bd_info *bis)
 | |
| {
 | |
| 	int ret = -ENODEV;
 | |
| #ifdef CONFIG_SH_ETHER
 | |
| 	ret = sh_eth_initialize(bis);
 | |
| #endif
 | |
| 	return ret;
 | |
| }
 |