summaryrefslogtreecommitdiff
path: root/arch/arm/mach-snapdragon/include/mach/misc.h
diff options
context:
space:
mode:
authorRamon Fried <ramon.fried@gmail.com>2018-08-03 16:25:35 +0300
committerTom Rini <trini@konsulko.com>2018-08-13 14:04:04 -0400
commit86e5e429468310d0f1716a1ebb95159aba3b61b4 (patch)
tree708157e64164c6a07d2d21d5e84f86a4760e35b6 /arch/arm/mach-snapdragon/include/mach/misc.h
parent8ff21d6d9c26e1aca5a6d0df9a43519d24948f69 (diff)
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>
Diffstat (limited to 'arch/arm/mach-snapdragon/include/mach/misc.h')
-rw-r--r--arch/arm/mach-snapdragon/include/mach/misc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-snapdragon/include/mach/misc.h b/arch/arm/mach-snapdragon/include/mach/misc.h
new file mode 100644
index 0000000000..5af6ae8da4
--- /dev/null
+++ b/arch/arm/mach-snapdragon/include/mach/misc.h
@@ -0,0 +1,12 @@
+/* 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);
+
+#endif