Logo
Explore Help
Register Sign In
leandrof/u-boot
1
0
Fork 1
You've already forked u-boot
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
efece632e7063c0ee901b6ffb4bb6294b45665f2
u-boot/arch/arm/mach-snapdragon/include/mach/misc.h

14 lines
229 B
C
Raw Normal View History

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>
2018-08-03 16:25:35 +03:00
/* 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);
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>
2018-08-03 16:25:36 +03:00
void msm_generate_mac_addr(u8 *mac);
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>
2018-08-03 16:25:35 +03:00
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 148ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API