u-boot/arch/arm/mach-snapdragon/include/mach/misc.h
Ramon Fried e0b04a1525 snapdragon: added MAC generation functions
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>
2018-08-13 14:04:04 -04:00

13 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