summaryrefslogtreecommitdiff
path: root/firmware/usbstack/usb_core.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 16:46:12 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 16:58:00 +0200
commit6f0eaf482714d4a17a6d68abdb83121bbf78f501 (patch)
tree039ee4039619bfb1cd1f40d0123a13e21832d9a8 /firmware/usbstack/usb_core.c
parentd815cf3c79321eb5db66cd18a77e3713943560a8 (diff)
downloadrockbox-6f0eaf482714d4a17a6d68abdb83121bbf78f501.tar.gz
rockbox-6f0eaf482714d4a17a6d68abdb83121bbf78f501.zip
imx233: rewrite ocotp using new register headers
Change-Id: I3c622119a1e296ec6b3f35f27e81b5118ab7f6cc
Diffstat (limited to 'firmware/usbstack/usb_core.c')
-rw-r--r--firmware/usbstack/usb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c
index 2a3cc1c525..dbc9367dfb 100644
--- a/firmware/usbstack/usb_core.c
+++ b/firmware/usbstack/usb_core.c
@@ -338,7 +338,7 @@ static void set_serial_descriptor(void)
338{ 338{
339 short* p = &usb_string_iSerial.wString[1]; 339 short* p = &usb_string_iSerial.wString[1];
340 for(int i = 0; i < IMX233_NUM_OCOTP_OPS; i++) { 340 for(int i = 0; i < IMX233_NUM_OCOTP_OPS; i++) {
341 uint32_t ops = imx233_ocotp_read(&HW_OCOTP_OPSx(i)); 341 uint32_t ops = imx233_ocotp_read(&HW_OCOTP_OPSn(i));
342 for(int j = 0; j < 8; j++) { 342 for(int j = 0; j < 8; j++) {
343 *p++ = hex[(ops >> 28) & 0xF]; 343 *p++ = hex[(ops >> 28) & 0xF];
344 ops <<= 4; 344 ops <<= 4;