snapdragon: added msm_board_serial() func
authorRamon Fried <ramon.fried@gmail.com>
Fri, 3 Aug 2018 13:25:35 +0000 (16:25 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 13 Aug 2018 18:04:04 +0000 (14:04 -0400)
commit86e5e429468310d0f1716a1ebb95159aba3b61b4
tree708157e64164c6a07d2d21d5e84f86a4760e35b6
parent8ff21d6d9c26e1aca5a6d0df9a43519d24948f69
snapdragon: added msm_board_serial() func

This commit adds a function to get the board
serial number.
In snapdragon it's actually the eMMC serial number.

Function added in a new file misc.c that will
include further snapdragon miscellaneous functions.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
arch/arm/mach-snapdragon/Makefile
arch/arm/mach-snapdragon/include/mach/misc.h [new file with mode: 0644]
arch/arm/mach-snapdragon/misc.c [new file with mode: 0644]