diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-05 10:50:38 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-05-29 23:50:12 (GMT) |
commit | b16cee70fdadaa500e0f962ae76877843281192e (patch) | |
tree | ef6e38f0c98fad4992b3f97637a9b1c2c1b87c24 /arch/arm/mach-tegra/tegra.c | |
parent | f9040550bef6f05e68af029f11c371a318220a05 (diff) | |
download | linux-b16cee70fdadaa500e0f962ae76877843281192e.tar.xz |
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.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c index fb802e2..1bc49f9 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 } |