
17 Jun
2012
17 Jun
'12
3:35 p.m.
Dear Fabio Estevam,
On Sun, Jun 17, 2012 at 9:58 AM, Otavio Salvador
otavio@ossystems.com.br wrote:
#if defined(CONFIG_DISPLAY_CPUINFO) +static const char *get_cpu_type(void) +{
struct mx28_digctl_regs *digctl_regs =
(struct mx28_digctl_regs *)MXS_DIGCTL_BASE;
switch (readl(&digctl_regs->hw_digctl_chipid) >> 16) {
case 0x2800:
return "28";
case 0x3728:
Reading the Reference Manual I read 0x3780 instead.
Good catch ;-)
What's the code for mx6q? They dropped this register from it it seems ;-)
Best regards, Marek Vasut