From: Peter De Schrijver Date: Wed, 14 Dec 2011 15:03:19 +0000 (+0200) Subject: arm/tegra: use PMC reset X-Git-Tag: firefly_0821_release~3680^2~3792^2~1^2^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9bfc3f0d48c0e6aac05b02638dd0b502b522dec7;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Stephen Warren Acked-by: Colin Cross Signed-off-by: Olof Johansson --- diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 0fafb60497a5..007d34f0966f 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) void tegra_assert_system_reset(char mode, const char *cmd) { - void __iomem *reset = IO_ADDRESS(TEGRA_CLK_RESET_BASE + 0x04); + void __iomem *reset = IO_ADDRESS(TEGRA_PMC_BASE + 0); u32 reg; - /* use *_related to avoid spinlock since caches are off */ reg = readl_relaxed(reset); - reg |= 0x04; + reg |= 0x10; writel_relaxed(reg, reset); }