summaryrefslogtreecommitdiff
path: root/firmware/usbstack
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-23 18:59:13 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-24 13:17:17 +0200
commitd938ae692cfc720210236eccd7910abe15c761c0 (patch)
tree1826a2135820122c17a3beb43a78e03e4b4eea77 /firmware/usbstack
parentbe5fadff942ad83aec9a73f34cf39f55bca13a80 (diff)
imx233: fix ocotop/debug and usb-core for stmp3600
Currently we don't know where the serial number is stored on the stmp3600. It is probably using the laser fuses but this needs to be investigated Change-Id: I1ac25e38b8f65635abb68788ceb65df0a740dabd
Diffstat (limited to 'firmware/usbstack')
-rw-r--r--firmware/usbstack/usb_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c
index dbc9367dfb..406f2a71e4 100644
--- a/firmware/usbstack/usb_core.c
+++ b/firmware/usbstack/usb_core.c
@@ -333,7 +333,8 @@ static void set_serial_descriptor(void)
}
usb_string_iSerial.bLength = 36 + (2 * AS3514_UID_LEN);
}
-#elif (CONFIG_CPU == IMX233)
+#elif (CONFIG_CPU == IMX233) && IMX233_SUBTARGET >= 3700
+// FIXME where is the STMP3600 serial number stored ?
static void set_serial_descriptor(void)
{
short* p = &usb_string_iSerial.wString[1];