[U-Boot] [PATCH V2 17/21] mx6: soc: add get_cpu_type
Troy Kisky
troy.kisky at boundarydevices.com
Sat Sep 22 19:07:47 CEST 2012
On 9/21/2012 7:50 PM, Fabio Estevam wrote:
> Hi Troy,
>
> On Fri, Sep 21, 2012 at 11:39 PM, Troy Kisky
> <troy.kisky at boundarydevices.com> wrote:
>> Add function to return the processor type.
>>
>> i.e. MX6Q, MX6DL, MX6SOLO, MX6SOLOLITE
> On arch/arm/imx-common/cpu.c we have:
>
> static const char *get_imx_type(u32 imxtype)
> {
> switch (imxtype) {
> case 0x63:
> return "6Q"; /* Quad-core version of the mx6 */
> case 0x61:
> return "6DS"; /* Dual/Solo version of the mx6 */
> case 0x60:
> return "6SL"; /* Solo-Lite version of the mx6 */
> case 0x51:
> return "51";
> case 0x53:
> return "53";
> default:
> return "??";
> }
> }
>
> ,which seems to serve the same purpose.
>
> Regards,
>
> Fabio Estevam
>
No, not similar to get_imx_type, but it is similar to get_cpu_rev.
I guess I should fix get_imx_type, and get_cpu_rev, instead of
adding a new one.
Thanks for the heads up!
Troy
More information about the U-Boot
mailing list