summaryrefslogtreecommitdiff
path: root/arch/arm/mach-snapdragon/include
diff options
context:
space:
mode:
authorRamon Fried <ramon.fried@gmail.com>2018-08-03 16:25:36 +0300
committerTom Rini <trini@konsulko.com>2018-08-13 14:04:04 -0400
commite0b04a15250a4aff28f1ab34812e9449098fa978 (patch)
tree4517a0f5f37e65c0abe902676e8d7242c2d7dc57 /arch/arm/mach-snapdragon/include
parent86e5e429468310d0f1716a1ebb95159aba3b61b4 (diff)
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>
Diffstat (limited to 'arch/arm/mach-snapdragon/include')
-rw-r--r--arch/arm/mach-snapdragon/include/mach/misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-snapdragon/include/mach/misc.h b/arch/arm/mach-snapdragon/include/mach/misc.h
index 5af6ae8da4..c60e3e4724 100644
--- a/arch/arm/mach-snapdragon/include/mach/misc.h
+++ b/arch/arm/mach-snapdragon/include/mach/misc.h
@@ -8,5 +8,6 @@
#define MISC_H
u32 msm_board_serial(void);
+void msm_generate_mac_addr(u8 *mac);
#endif