Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-17 Thread Nikolay Dimitrov
Hi Tim, On 05/14/2015 08:08 AM, Tim Harvey wrote: The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING indicated by OCOTP_CFG3[17:16] which is at 0x440 in the Fusemap Description Table. Return this frequency so that it can be used elsewhere. Note that the IMX6SDLRM and the

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Troy Kisky
On 5/15/2015 3:57 PM, Otavio Salvador wrote: > On Fri, May 15, 2015 at 7:34 PM, Troy Kisky > wrote: > ... > CPU: Freescale i.MX6SX rev1.0 996 MHz (running at 792 MHz) > ... > > TO1.0 is the first one and had some issues. We need testing with > current production TO not alpha customers one.

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Otavio Salvador
On Fri, May 15, 2015 at 7:34 PM, Troy Kisky wrote: ... CPU: Freescale i.MX6SX rev1.0 996 MHz (running at 792 MHz) ... TO1.0 is the first one and had some issues. We need testing with current production TO not alpha customers one. -- Otavio Salvador O.S. System

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Troy Kisky
On 5/15/2015 1:43 PM, Troy Kisky wrote: > On 5/15/2015 1:38 PM, Tim Harvey wrote: >> On Fri, May 15, 2015 at 12:54 PM, Troy Kisky >> wrote: >>> On 5/15/2015 7:32 AM, Stefano Babic wrote: Hi Christian, On 15/05/2015 16:26, Christian Gmeiner wrote: >> Function does not return

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Troy Kisky
On 5/15/2015 1:38 PM, Tim Harvey wrote: > On Fri, May 15, 2015 at 12:54 PM, Troy Kisky > wrote: >> On 5/15/2015 7:32 AM, Stefano Babic wrote: >>> Hi Christian, >>> >>> On 15/05/2015 16:26, Christian Gmeiner wrote: >>> > Function does not returns the value of the fuse, else it should returns >>

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Tim Harvey
On Fri, May 15, 2015 at 12:54 PM, Troy Kisky wrote: > On 5/15/2015 7:32 AM, Stefano Babic wrote: >> Hi Christian, >> >> On 15/05/2015 16:26, Christian Gmeiner wrote: >> Function does not returns the value of the fuse, else it should returns val. The value is parsed for consistency, and i

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Troy Kisky
On 5/15/2015 7:32 AM, Stefano Babic wrote: > Hi Christian, > > On 15/05/2015 16:26, Christian Gmeiner wrote: > >>> Function does not returns the value of the fuse, else it should returns >>> val. The value is parsed for consistency, and if it is not, 0 means a >>> failure. IMHO this interpretatio

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Stefano Babic
Hi Christian, On 15/05/2015 16:26, Christian Gmeiner wrote: >> Function does not returns the value of the fuse, else it should returns >> val. The value is parsed for consistency, and if it is not, 0 means a >> failure. IMHO this interpretation is correct - I would agree with you >> only if the r

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Christian Gmeiner
2015-05-15 15:20 GMT+02:00 Stefano Babic : > Hi Christian, > > On 15/05/2015 09:53, Christian Gmeiner wrote: >> Hi >> >> 2015-05-14 7:08 GMT+02:00 Tim Harvey : >>> The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING >>> indicated by OCOTP_CFG3[17:16] which is at 0x440 in the

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Tim Harvey
On Fri, May 15, 2015 at 12:53 AM, Christian Gmeiner wrote: > Hi > > 2015-05-14 7:08 GMT+02:00 Tim Harvey : >> The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING >> indicated by OCOTP_CFG3[17:16] which is at 0x440 in the Fusemap Description >> Table. Return this frequency so

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Stefano Babic
Hi Christian, On 15/05/2015 09:53, Christian Gmeiner wrote: > Hi > > 2015-05-14 7:08 GMT+02:00 Tim Harvey : >> The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING >> indicated by OCOTP_CFG3[17:16] which is at 0x440 in the Fusemap Description >> Table. Return this frequency

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-15 Thread Christian Gmeiner
Hi 2015-05-14 7:08 GMT+02:00 Tim Harvey : > The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING > indicated by OCOTP_CFG3[17:16] which is at 0x440 in the Fusemap Description > Table. Return this frequency so that it can be used elsewhere. > > Note that the IMX6SDLRM and the

[U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-13 Thread Tim Harvey
The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING indicated by OCOTP_CFG3[17:16] which is at 0x440 in the Fusemap Description Table. Return this frequency so that it can be used elsewhere. Note that the IMX6SDLRM and the IMX6SXRM do not indicate this in the their Fusemap D