mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 05:13:21 +09:00
![Ramon Fried](/assets/img/avatar_default.png)
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
|