ARM: tegra: implement WAR for Tegra114 CPU reset vector
authorStephen Warren <swarren@nvidia.com>
Thu, 28 Feb 2013 12:40:09 +0000 (12:40 +0000)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:43 +0000 (11:06 -0700)
commit16bb08d19a5ecb9c3e90ab2394d7c5c40955ee60
tree15c30eca17317a92ac4c2dbfd9ac35d24f495011
parent527519ae69cdde6386754015f986f99604f2c9a7
ARM: tegra: implement WAR for Tegra114 CPU reset vector

A Tegra114 HW bug prevents the main CPU vector from being modified under
certain circumstances. Tegra114 A01P and later with a patched boot ROM
set the CPU reset vector to 0x4003fffc (end of IRAM). This allows placing
an arbitrary jump instruction at that location, in order to redirect to
the desired reset vector location. Modify Tegra114's start_cpu() to make
use of this feature. This allows CPUs with the patched boot ROM to boot.

Based-on-work-by: Jimmy Zhang <jimmzhang@nvidia.com>.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/arm720t/tegra114/cpu.c