diff options
author | Manoj Chourasia <mchourasia@nvidia.com> | 2012-03-21 14:44:14 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-03-28 09:47:31 -0700 |
commit | fe0df5b6c6f143483535cea4bd74a736f4bbed04 (patch) | |
tree | cf3e037f8a60dcc67a7a24c4e139deceb86152cc | |
parent | 576ee573eb1841d5400960a96ec6fb24e4ec103b (diff) |
ARM: tegra3: ARM_SAVE_DEBUG_CONTEXT should be selected based on PM_SLEEP
ARM_SAVE_DEBUG_CONTEXT was getting selected by tegra3 independent
of PM_SLEEP config. ARM_SAVE_DEBUG_CONTEXT itself is dependent on
PM_SLEEP. That was generating following warning while doing
savedefconfig with PM_SLEEP disabled.
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
warning: (ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects \
ARM_SAVE_DEBUG_CONTEXT which has unmet direct dependencies\
(PM_SLEEP && CPU_V7)
This patch fixes the issue.
bug 931053
Change-Id: I57016476b7ca39f9ac36a9c59d0102c89c85c6c9
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/91461
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 2de37ff9db93..fc3e755a44c4 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -9,7 +9,7 @@ config ARCH_TEGRA_2x_SOC select ARCH_TEGRA_HAS_PCIE select CPU_V7 select ARM_GIC - select ARM_SAVE_DEBUG_CONTEXT + select ARM_SAVE_DEBUG_CONTEXT if PM_SLEEP select ARCH_REQUIRE_GPIOLIB select USB_ARCH_HAS_EHCI if USB_SUPPORT select USB_ULPI if USB_SUPPORT @@ -33,7 +33,7 @@ config ARCH_TEGRA_3x_SOC select ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS select CPU_V7 select ARM_GIC - select ARM_SAVE_DEBUG_CONTEXT + select ARM_SAVE_DEBUG_CONTEXT if PM_SLEEP select GIC_SET_MULTIPLE_CPUS if SMP select ARCH_REQUIRE_GPIOLIB select USB_ARCH_HAS_EHCI if USB_SUPPORT |