aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2011-12-14 10:03:19 -0500
committerOlof Johansson <olof@lixom.net>2011-12-17 23:15:19 -0500
commit9bfc3f0d48c0e6aac05b02638dd0b502b522dec7 (patch)
tree07a44aa95bda6eba054e6da4d35bb2ed227bba5e /arch/arm/mach-tegra
parenta2385dc502a9c7eb3a7d0b8c033c344c459a13aa (diff)
arm/tegra: use PMC reset
Use PMC reset rather then CAR system reset as recommended by the hardware team. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Colin Cross <ccross@android.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 0fafb60497a..007d34f0966 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -48,12 +48,11 @@ void __init tegra_dt_init_irq(void)
48 48
49void tegra_assert_system_reset(char mode, const char *cmd) 49void tegra_assert_system_reset(char mode, const char *cmd)
50{ 50{
51 void __iomem *reset = IO_ADDRESS(TEGRA_CLK_RESET_BASE + 0x04); 51 void __iomem *reset = IO_ADDRESS(TEGRA_PMC_BASE + 0);
52 u32 reg; 52 u32 reg;
53 53
54 /* use *_related to avoid spinlock since caches are off */
55 reg = readl_relaxed(reset); 54 reg = readl_relaxed(reset);
56 reg |= 0x04; 55 reg |= 0x10;
57 writel_relaxed(reg, reset); 56 writel_relaxed(reg, reset);
58} 57}
59 58