mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 10:21:25 +01:00 
			
		
		
		
	Add support for generation of unique MAC address that is derived from board serial. Algorithm for generation of MAC taken from LK. Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			229 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			229 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0+ */
 | 
						|
/*
 | 
						|
 * Snapdragon DRAM
 | 
						|
 * Copyright (C) 2018 Ramon Fried <ramon.fried@gmail.com>
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef MISC_H
 | 
						|
#define MISC_H
 | 
						|
 | 
						|
u32 msm_board_serial(void);
 | 
						|
void msm_generate_mac_addr(u8 *mac);
 | 
						|
 | 
						|
#endif
 |