mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
usb, g_dnl: make iSerialNumber board configurable
add the possibility to set the iSerialNumber board specific. Default value for iSerialNumber is 0x0. This value can changed board specific through the new function g_dnl_set_serialnumber() which must be called from the board specific function g_dnl_bind_fixup(). Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com>
This commit is contained in:

committed by
Marek Vasut

parent
31bae4c5d9
commit
ec9002e4fa
@ -13,5 +13,6 @@
|
||||
int g_dnl_bind_fixup(struct usb_device_descriptor *, const char *);
|
||||
int g_dnl_register(const char *s);
|
||||
void g_dnl_unregister(void);
|
||||
void g_dnl_set_serialnumber(char *);
|
||||
|
||||
#endif /* __G_DOWNLOAD_H_ */
|
||||
|
Reference in New Issue
Block a user