diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-22 13:11:13 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-11-22 13:24:32 -0500 |
commit | cedf900d657e09f060b52f0598fc56aae9fbfba3 (patch) | |
tree | 6eb473aa5ff272ff6c124f13e2a2c7a9ba85cf5e | |
parent | 05574bb27a8a46d354582e72691ff6cb40712da9 (diff) |
omap3: keep SoC features on the same line
When listing the various SoC features, print them on the same line.
So, instead of this
OMAP3430/3530 ES3.1
- l2cache : Y
- iva : Y
- sgx : Y
- neon : Y
- isp : Y
you get this:
OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/id.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 6c11b41b4d44..49846601fe77 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -257,11 +257,8 @@ void __init omap3_check_revision(void) | |||
257 | } | 257 | } |
258 | 258 | ||
259 | #define OMAP3_SHOW_FEATURE(feat) \ | 259 | #define OMAP3_SHOW_FEATURE(feat) \ |
260 | if (omap3_has_ ##feat()) { \ | 260 | if (omap3_has_ ##feat()) \ |
261 | pr_info (" - "#feat" : Y"); \ | 261 | printk(#feat" "); |
262 | } else { \ | ||
263 | pr_info (" - "#feat" : N"); \ | ||
264 | } | ||
265 | 262 | ||
266 | void __init omap3_cpuinfo(void) | 263 | void __init omap3_cpuinfo(void) |
267 | { | 264 | { |
@@ -331,13 +328,15 @@ void __init omap3_cpuinfo(void) | |||
331 | /* | 328 | /* |
332 | * Print verbose information | 329 | * Print verbose information |
333 | */ | 330 | */ |
334 | pr_info("%s ES%s\n", cpu_name, cpu_rev); | 331 | pr_info("%s ES%s (", cpu_name, cpu_rev); |
335 | 332 | ||
336 | OMAP3_SHOW_FEATURE(l2cache); | 333 | OMAP3_SHOW_FEATURE(l2cache); |
337 | OMAP3_SHOW_FEATURE(iva); | 334 | OMAP3_SHOW_FEATURE(iva); |
338 | OMAP3_SHOW_FEATURE(sgx); | 335 | OMAP3_SHOW_FEATURE(sgx); |
339 | OMAP3_SHOW_FEATURE(neon); | 336 | OMAP3_SHOW_FEATURE(neon); |
340 | OMAP3_SHOW_FEATURE(isp); | 337 | OMAP3_SHOW_FEATURE(isp); |
338 | |||
339 | printk(")\n"); | ||
341 | } | 340 | } |
342 | 341 | ||
343 | /* | 342 | /* |