diff options
author | Scott Williams <scwilliams@nvidia.com> | 2012-02-02 18:55:00 -0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2012-06-22 18:29:59 +0530 |
commit | adaf97f93abbd73888112acc0800160532d57d93 (patch) | |
tree | bce77c93f6dc8a04630f512b79e90b3008accc2e /arch/arm/mach-tegra/sleep.h | |
parent | 23d90024fbd893174b0cd39e6ff0245431adf653 (diff) |
ARM: tegra: Clean up CACHE_L2X0 conditionals and includes
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
(cherry picked from commit 859d063878ed63683f3eddd3fd74b5f17c2282fc)
Change-Id: I8f8efca1d78e319138eaa9e5fed6a6a3d53ab22e
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/79140
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/sleep.h')
-rw-r--r-- | arch/arm/mach-tegra/sleep.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/sleep.h b/arch/arm/mach-tegra/sleep.h index 356413ebea1c..00bf616b4a88 100644 --- a/arch/arm/mach-tegra/sleep.h +++ b/arch/arm/mach-tegra/sleep.h @@ -3,7 +3,7 @@ * * Declarations for power state transition code * - * Copyright (c) 2010-2011, NVIDIA Corporation. + * Copyright (c) 2010-2012, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -82,7 +82,9 @@ #define FLOW_CTRL_CSR_WFI_BITMAP (0xF << 8) #endif +#ifdef CONFIG_CACHE_L2X0 #define TEGRA_PL310_VIRT (TEGRA_ARM_PL310_BASE - IO_CPU_PHYS + IO_CPU_VIRT) +#endif #define TEGRA_FLOW_CTRL_VIRT (TEGRA_FLOW_CTRL_BASE - IO_PPSB_PHYS + IO_PPSB_VIRT) #define TEGRA_ARM_PERIF_VIRT (TEGRA_ARM_PERIF_BASE - IO_CPU_PHYS + IO_CPU_VIRT) |