usb, g_dnl: make iSerialNumber board configurable
authorHeiko Schocher <hs@denx.de>
Mon, 4 Nov 2013 13:05:01 +0000 (14:05 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 8 Nov 2013 19:46:20 +0000 (20:46 +0100)
commitec9002e4fa9a1fcb769d39f54c62d661c810543b
tree415180617b1349bca47b2f3ba67e0ec61000b548
parent31bae4c5d9e5e7eca70d64152441bc8290016560
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>
drivers/usb/gadget/g_dnl.c
include/g_dnl.h