diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-16 16:46:12 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-16 16:58:00 +0200 |
commit | 6f0eaf482714d4a17a6d68abdb83121bbf78f501 (patch) | |
tree | 039ee4039619bfb1cd1f40d0123a13e21832d9a8 /firmware/usbstack | |
parent | d815cf3c79321eb5db66cd18a77e3713943560a8 (diff) |
imx233: rewrite ocotp using new register headers
Change-Id: I3c622119a1e296ec6b3f35f27e81b5118ab7f6cc
Diffstat (limited to 'firmware/usbstack')
-rw-r--r-- | firmware/usbstack/usb_core.c | 2 |
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) { short* p = &usb_string_iSerial.wString[1]; for(int i = 0; i < IMX233_NUM_OCOTP_OPS; i++) { - uint32_t ops = imx233_ocotp_read(&HW_OCOTP_OPSx(i)); + uint32_t ops = imx233_ocotp_read(&HW_OCOTP_OPSn(i)); for(int j = 0; j < 8; j++) { *p++ = hex[(ops >> 28) & 0xF]; ops <<= 4; |