diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-01-08 11:52:15 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-08 11:52:15 +0100 |
commit | fbea2413f6c3cf935ded2466ce27029575b7d1d4 (patch) | |
tree | 8d680f0b6c4db5bc32fc83f883e74001aba96883 /usb/device/dfu/dfu.h | |
parent | 82eaac47c73621cc42ea6f40ffca2118e764a3ae (diff) |
DFU: add support for setting the USB SERIAL by a board
this will allow us to use the Unique Chip ID as serial number in the USB
descriptor, which in turn allows customers to write device-specific
udev rules for persistent naming, etc.
Diffstat (limited to 'usb/device/dfu/dfu.h')
-rw-r--r-- | usb/device/dfu/dfu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usb/device/dfu/dfu.h b/usb/device/dfu/dfu.h index 5ca1baf..3cbcac5 100644 --- a/usb/device/dfu/dfu.h +++ b/usb/device/dfu/dfu.h @@ -120,6 +120,7 @@ struct dfu { }; extern struct dfu dfu; +void set_usb_serial_str(const uint8_t *serial_usbstr); /* call-backs by the board/SOC */ extern int USBDFU_handle_dnload(uint8_t altif, unsigned int offset, |