ARM: tegra: Redesign Tegra CPU reset handling
authorScott Williams <scwilliams@nvidia.com>
Wed, 6 Jul 2011 01:05:26 +0000 (18:05 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:55:38 +0000 (00:55 -0700)
commitdc87b8c1df7df88ec6c97cc3ac57a73e475c821f
tree6b0011729f588f773ee3ef3fd73664e49e62d3d1
parentde7efe0191222a1fb968cfb740e412c4bda1f703
ARM: tegra: Redesign Tegra CPU reset handling

- Add a single unified handler for all CPU resets that is copied to
  IRAM.
- Add state information to direct the flow of execution through the
  reset handler based on the reason a CPU was reset.
- Write the EVP CPU reset vector only once per cold/warm boot session.
- Prevent modification of the EVP CPU reset vector in Tegra3.

Bug 786290
Bug 790458

Change-Id: Ica6707f3514986ee914e73a2d9766a4e06ce2d29
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
DW: Split into logical changes
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R7b9859a83717e76c3c083bdde724bd5fef9ce089
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/cpuidle-t2.c
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-tegra/pm-t3.c
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/pm.h
arch/arm/mach-tegra/reset.c
arch/arm/mach-tegra/reset.h
arch/arm/mach-tegra/sleep-t20.S
arch/arm/mach-tegra/sleep.h