mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
imx233: rewrite ocotp using new register headers
Change-Id: I3c622119a1e296ec6b3f35f27e81b5118ab7f6cc
This commit is contained in:
parent
d815cf3c79
commit
6f0eaf4827
3 changed files with 22 additions and 43 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue