aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/setup.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 4dffb913147e..d3d37e7f465b 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -876,9 +876,12 @@ void __init setup_arch(char **cmdline_p)
876 if (bfin_compiled_revid() == -1) 876 if (bfin_compiled_revid() == -1)
877 printk(KERN_ERR "Warning: Compiled for Rev none, but running on Rev %d\n", 877 printk(KERN_ERR "Warning: Compiled for Rev none, but running on Rev %d\n",
878 bfin_revid()); 878 bfin_revid());
879 else if (bfin_compiled_revid() != 0xffff) 879 else if (bfin_compiled_revid() != 0xffff) {
880 printk(KERN_ERR "Warning: Compiled for Rev %d, but running on Rev %d\n", 880 printk(KERN_ERR "Warning: Compiled for Rev %d, but running on Rev %d\n",
881 bfin_compiled_revid(), bfin_revid()); 881 bfin_compiled_revid(), bfin_revid());
882 if (bfin_compiled_revid() > bfin_revid())
883 panic("Error: you are missing anomaly workarounds for this rev\n");
884 }
882 } 885 }
883 if (bfin_revid() < CONFIG_BF_REV_MIN || bfin_revid() > CONFIG_BF_REV_MAX) 886 if (bfin_revid() < CONFIG_BF_REV_MIN || bfin_revid() > CONFIG_BF_REV_MAX)
884 printk(KERN_ERR "Warning: Unsupported Chip Revision ADSP-%s Rev 0.%d detected\n", 887 printk(KERN_ERR "Warning: Unsupported Chip Revision ADSP-%s Rev 0.%d detected\n",