Blackfin: announce current cpu rev when booting
authorRobin Getz <robin.getz@analog.com>
Tue, 20 Oct 2009 17:22:18 +0000 (17:22 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Dec 2009 05:15:01 +0000 (00:15 -0500)
User reports rarely include full information, so include this important
tidbit up front.  It's also good to know at a glance in general.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/setup.c

index 5fda77488319a3f73398dac46c3bd9c777867e63..a7ae73aafa1b59e435383a04c133a076ff660d84 100644 (file)
@@ -910,7 +910,7 @@ void __init setup_arch(char **cmdline_p)
 
        printk(KERN_INFO "Blackfin support (C) 2004-2009 Analog Devices, Inc.\n");
        if (bfin_compiled_revid() == 0xffff)
-               printk(KERN_INFO "Compiled for ADSP-%s Rev any\n", CPU);
+               printk(KERN_INFO "Compiled for ADSP-%s Rev any, running on 0.%d\n", CPU, bfin_revid());
        else if (bfin_compiled_revid() == -1)
                printk(KERN_INFO "Compiled for ADSP-%s Rev none\n", CPU);
        else