summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/setup.c
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2009-03-05 11:18:49 +0100
committerBryan Wu <cooloney@kernel.org>2009-03-05 11:18:49 +0100
commit00049522425e8390d1815e1579733644ad2bb0c7 (patch)
treecef5c9a4440f376ad4796a6c1b80f57cd8311950 /arch/blackfin/kernel/setup.c
parentBlackfin arch: update default kernel config, select KSZ8893M driver for BF518 (diff)
downloadlinux-00049522425e8390d1815e1579733644ad2bb0c7.tar.xz
linux-00049522425e8390d1815e1579733644ad2bb0c7.zip
Blackfin arch: Random read/write errors are a bad thing
Random read/write errors are a bad thing - so don't let anyone (including the test bench) run on something we know is bad. Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r--arch/blackfin/kernel/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index e5c116230800..4646b985cc9d 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -889,6 +889,10 @@ void __init setup_arch(char **cmdline_p)
CPU, bfin_revid());
}
+ /* We can't run on BF548-0.1 due to ANOMALY 05000448 */
+ if (bfin_cpuid() == 0x27de && bfin_revid() == 1)
+ panic("You can't run on this processor due to 05000448\n");
+
printk(KERN_INFO "Blackfin Linux support by http://blackfin.uclinux.org/\n");
printk(KERN_INFO "Processor Speed: %lu MHz core clock and %lu MHz System Clock\n",