diff mbox

[PATCHv2,2/2] ARM: ARM_PATCH_PHYS_VIRT_16BIT no longer depends on MSM

Message ID 1311614362-9011-2-git-send-email-sboyd@codeaurora.org (mailing list archive)
State New, archived
Headers show

Commit Message

Stephen Boyd July 25, 2011, 5:19 p.m. UTC
MSM no longer requires the 16bit version of dynamic P2V. Drop the
dependency.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: David Brown <davidb@codeaurora.org>
---
 arch/arm/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Nicolas Pitre July 25, 2011, 8:25 p.m. UTC | #1
On Mon, 25 Jul 2011, Stephen Boyd wrote:

> MSM no longer requires the 16bit version of dynamic P2V. Drop the
> dependency.
> 
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
> Cc: David Brown <davidb@codeaurora.org>

Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>



> ---
>  arch/arm/Kconfig |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index c24f97a..da4508d 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -209,8 +209,8 @@ config ARM_PATCH_PHYS_VIRT
>  	  for the MSM machine class.
>  
>  config ARM_PATCH_PHYS_VIRT_16BIT
> -	def_bool y
> -	depends on ARM_PATCH_PHYS_VIRT && ARCH_MSM
> +	bool
> +	depends on ARM_PATCH_PHYS_VIRT
>  	help
>  	  This option extends the physical to virtual translation patching
>  	  to allow physical memory down to a theoretical minimum of 64K
> -- 
> Sent by an employee of the Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
>
Russell King - ARM Linux July 25, 2011, 8:31 p.m. UTC | #2
On Mon, Jul 25, 2011 at 04:25:26PM -0400, Nicolas Pitre wrote:
> On Mon, 25 Jul 2011, Stephen Boyd wrote:
> 
> > MSM no longer requires the 16bit version of dynamic P2V. Drop the
> > dependency.
> > 
> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> > Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
> > Cc: David Brown <davidb@codeaurora.org>
> 
> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>

As it's now unused, we can kill the additional code which makes things
needlessly more complex...
Stephen Boyd July 26, 2011, 5:40 p.m. UTC | #3
On 07/25/2011 01:31 PM, Russell King - ARM Linux wrote:
> On Mon, Jul 25, 2011 at 04:25:26PM -0400, Nicolas Pitre wrote:
>> On Mon, 25 Jul 2011, Stephen Boyd wrote:
>>
>>> MSM no longer requires the 16bit version of dynamic P2V. Drop the
>>> dependency.
>>>
>>> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
>>> Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
>>> Cc: David Brown <davidb@codeaurora.org>
>> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
> As it's now unused, we can kill the additional code which makes things
> needlessly more complex...

Ok. I'll remove the extra code in v3.
diff mbox

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c24f97a..da4508d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -209,8 +209,8 @@  config ARM_PATCH_PHYS_VIRT
 	  for the MSM machine class.
 
 config ARM_PATCH_PHYS_VIRT_16BIT
-	def_bool y
-	depends on ARM_PATCH_PHYS_VIRT && ARCH_MSM
+	bool
+	depends on ARM_PATCH_PHYS_VIRT
 	help
 	  This option extends the physical to virtual translation patching
 	  to allow physical memory down to a theoretical minimum of 64K