Blackfin: do not configure the UART early if on wrong processor
authorRobin Getz <robin.getz@analog.com>
Wed, 10 Jun 2009 06:11:21 +0000 (06:11 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Jun 2009 11:20:10 +0000 (07:20 -0400)
commit54ebae7166275a618f0228138e67ff7d10a3b9d0
tree403fc7decea11e2e15367b241a22c5f071a925c2
parent86f2008bf546af9a434f480710e8d33891616bf5
Blackfin: do not configure the UART early if on wrong processor

Before we configure the early UART, check to make sure we are running on
the expected processor - otherwise, we cause problems by configuring pins
that don't exist (and causing an infinite loop of faults).

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