From ec9002e4fa9a1fcb769d39f54c62d661c810543b Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Mon, 4 Nov 2013 14:05:01 +0100 Subject: 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 Cc: Marek Vasut Cc: Lukasz Majewski Cc: Kyungmin Park Tested-by: Lukasz Majewski --- include/g_dnl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/g_dnl.h b/include/g_dnl.h index de669fb85a7..8f813c21ee6 100644 --- a/include/g_dnl.h +++ b/include/g_dnl.h @@ -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_ */ -- cgit v1.2.3