ARM: tegra: Use readl/writel_relaxed for reset
authorColin Cross <ccross@android.com>
Wed, 2 Mar 2011 20:34:38 +0000 (12:34 -0800)
committerColin Cross <ccross@android.com>
Fri, 4 Mar 2011 02:53:08 +0000 (18:53 -0800)
commit8e15ee8536752c0ae321c80ee4d156c14cbb4d92
treeccb3396d6a74d00e8825ee35dddce2732e349a1c
parentb3cc1d84d0b962fe80fc297d2e2417c3157508b6
ARM: tegra: Use readl/writel_relaxed for reset

tegra_assert_system_reset is called after the cache is disabled.
Calling writel will cause the PL310 store buffers to be drained,
which requires taking a spinlock.  Taking a spinlock is not safe
after the caches are disabled.  Convert to readl_relaxed and
writel_relaxed.

Change-Id: I6850179b931ca865580c0fd3fe003b46bdfa43ae
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/include/mach/system.h