Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172802
b: refs/heads/master
c: cedf900
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Hilman authored and Tony Lindgren committed Nov 22, 2009
1 parent bda8ddf commit 6026e1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 05574bb27a8a46d354582e72691ff6cb40712da9
refs/heads/master: cedf900d657e09f060b52f0598fc56aae9fbfba3
11 changes: 5 additions & 6 deletions trunk/arch/arm/mach-omap2/id.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,8 @@ void __init omap3_check_revision(void)
}

#define OMAP3_SHOW_FEATURE(feat) \
if (omap3_has_ ##feat()) { \
pr_info (" - "#feat" : Y"); \
} else { \
pr_info (" - "#feat" : N"); \
}
if (omap3_has_ ##feat()) \
printk(#feat" ");

void __init omap3_cpuinfo(void)
{
Expand Down Expand Up @@ -331,13 +328,15 @@ void __init omap3_cpuinfo(void)
/*
* Print verbose information
*/
pr_info("%s ES%s\n", cpu_name, cpu_rev);
pr_info("%s ES%s (", cpu_name, cpu_rev);

OMAP3_SHOW_FEATURE(l2cache);
OMAP3_SHOW_FEATURE(iva);
OMAP3_SHOW_FEATURE(sgx);
OMAP3_SHOW_FEATURE(neon);
OMAP3_SHOW_FEATURE(isp);

printk(")\n");
}

/*
Expand Down

0 comments on commit 6026e1a

Please sign in to comment.