提交 9bfc3f0d 编写于 作者: P Peter De Schrijver 提交者: Olof Johansson

arm/tegra: use PMC reset

Use PMC reset rather then CAR system reset as recommended by the hardware
team.
Signed-off-by: NPeter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: NStephen Warren <swarren@nvidia.com>
Acked-by: NColin Cross <ccross@android.com>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 a2385dc5
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册