mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Remove the calls to net_random_ethaddr() that some boards and some drivers are calling. This is now implemented inside of net/eth.c Enable the feature for all boards that previously enabled it. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-By: Michael Walle <michael@walle.cc> (for the lsxl board part) Series-changes: 2 -Fixed bfin build errors
		
			
				
	
	
		
			30 lines
		
	
	
		
			528 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			528 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * U-boot - main board file
 | |
|  *
 | |
|  * Copyright (c) 2007 David Rowe,
 | |
|  *           (c) 2006 Ivan Danov
 | |
|  *
 | |
|  * (C) Copyright 2000-2004
 | |
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 | |
|  *
 | |
|  * Licensed under the GPL-2 or later.
 | |
|  */
 | |
| 
 | |
| #include <common.h>
 | |
| #include <net.h>
 | |
| #include <netdev.h>
 | |
| 
 | |
| int checkboard(void)
 | |
| {
 | |
| 	printf("Board: IP04 IP-PBX\n");
 | |
| 	printf("       http://www.rowetel.com/ucasterisk/ip04.html\n");
 | |
| 	return 0;
 | |
| }
 | |
| 
 | |
| #ifdef CONFIG_DRIVER_DM9000
 | |
| int board_eth_init(bd_t *bis)
 | |
| {
 | |
| 	return dm9000_initialize(bis);
 | |
| }
 | |
| #endif
 |