davinci: make it easier to identify SoC init failures
authorSekhar Nori <nsekhar@ti.com>
Thu, 1 Oct 2009 07:11:06 +0000 (12:41 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:31 +0000 (10:21 -0800)
commit69872e93d971e72cd43fdf90befaaffd8e32437a
tree0228b0a1b4ecebae87ca1496a2c30be60fefccae
parent2206771c4359e236308122ad3fed7f5d91586fd7
davinci: make it easier to identify SoC init failures

This patch makes it easier to identify SoC init failures
by panicing when SoC init fails. Without successful SoC
init, the kernel eventually fails when attempt is made to
access the clocks.

Also, an error is printed when JTAG ID match fails to make
it easier to identify failures due to SoC rev changes.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/common.c