summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/tegra.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-04-05 12:50:38 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-30 01:50:12 +0200
commitb16cee70fdadaa500e0f962ae76877843281192e (patch)
treeef6e38f0c98fad4992b3f97637a9b1c2c1b87c24 /arch/arm/mach-tegra/tegra.c
parentARM: l2c: tegra: remove cache size override (diff)
downloadlinux-b16cee70fdadaa500e0f962ae76877843281192e.tar.xz
linux-b16cee70fdadaa500e0f962ae76877843281192e.zip
ARM: l2c: tegra: convert to common l2c310 early resume functionality
Acked-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-tegra/tegra.c')
-rw-r--r--arch/arm/mach-tegra/tegra.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c
index fb802e24b647..1bc49f9db015 100644
--- a/arch/arm/mach-tegra/tegra.c
+++ b/arch/arm/mach-tegra/tegra.c
@@ -73,11 +73,7 @@ u32 tegra_uart_config[3] = {
static void __init tegra_init_cache(void)
{
#ifdef CONFIG_CACHE_L2X0
- int ret;
-
- ret = l2x0_of_init(0x3c400001, 0xc20fc3fe);
- if (!ret)
- l2x0_saved_regs_addr = virt_to_phys(&l2x0_saved_regs);
+ l2x0_of_init(0x3c400001, 0xc20fc3fe);
#endif
}