snapdragon: added MAC generation functions
authorRamon Fried <ramon.fried@gmail.com>
Fri, 3 Aug 2018 13:25:36 +0000 (16:25 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 13 Aug 2018 18:04:04 +0000 (14:04 -0400)
commite0b04a15250a4aff28f1ab34812e9449098fa978
tree4517a0f5f37e65c0abe902676e8d7242c2d7dc57
parent86e5e429468310d0f1716a1ebb95159aba3b61b4
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>
arch/arm/mach-snapdragon/include/mach/misc.h
arch/arm/mach-snapdragon/misc.c