diff options
author | Heiko Schocher <hs@denx.de> | 2013-11-04 14:05:01 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-11-08 20:46:20 +0100 |
commit | ec9002e4fa9a1fcb769d39f54c62d661c810543b (patch) | |
tree | 415180617b1349bca47b2f3ba67e0ec61000b548 /include/g_dnl.h | |
parent | 31bae4c5d9e5e7eca70d64152441bc8290016560 (diff) | |
download | u-boot-imx-ec9002e4fa9a1fcb769d39f54c62d661c810543b.zip u-boot-imx-ec9002e4fa9a1fcb769d39f54c62d661c810543b.tar.gz u-boot-imx-ec9002e4fa9a1fcb769d39f54c62d661c810543b.tar.bz2 |
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>
Diffstat (limited to 'include/g_dnl.h')
-rw-r--r-- | include/g_dnl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/g_dnl.h b/include/g_dnl.h index de669fb..8f813c2 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_ */ |