From: Tero Kristo <t-kristo@ti.com>
To: balbi@ti.com
Cc: linux-omap@vger.kernel.org, tony@atomide.com,
mturquette@linaro.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] ARM: DRA7XX: Add support for DRA7XX only build
Date: Fri, 10 Jan 2014 18:32:09 +0200 [thread overview]
Message-ID: <52D02089.2070609@ti.com> (raw)
In-Reply-To: <20140110161538.GI6665@saruman.home>
On 01/10/2014 06:15 PM, Felipe Balbi wrote:
> On Fri, Jan 10, 2014 at 11:57:30AM +0200, Tero Kristo wrote:
>> SOC_DRA7XX was under wrong menu within Kconfig file, which prevented
>> DRA7XX only build. Fixed the kconfig options for this SoC as we are
>> there. voltage.c needs to be added to the DRA7XX build also, otherwise
>> DRA7XX only build will fail.
>>
>> Signed-off-by: Tero Kristo <t-kristo@ti.com>
>
> one comment below, other than that:
>
> Reviewed-by: Felipe Balbi <balbi@ti.com>
>
>> ---
>> arch/arm/mach-omap2/Kconfig | 18 ++++++++++--------
>> arch/arm/mach-omap2/Makefile | 1 +
>> 2 files changed, 11 insertions(+), 8 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
>> index dc21df1..e65948a 100644
>> --- a/arch/arm/mach-omap2/Kconfig
>> +++ b/arch/arm/mach-omap2/Kconfig
>> @@ -76,6 +76,16 @@ config SOC_AM43XX
>> select ARM_GIC
>> select MACH_OMAP_GENERIC
>>
>> +config SOC_DRA7XX
>> + bool "TI DRA7XX"
>> + depends on ARCH_MULTI_V7
>> + select ARCH_OMAP2PLUS
>> + select ARM_CPU_SUSPEND if PM
>> + select ARM_GIC
>> + select CPU_V7
>> + select HAVE_SMP
>> + select HAVE_ARM_ARCH_TIMER
>> +
>> config ARCH_OMAP2PLUS
>> bool
>> select ARCH_HAS_BANDGAP
>> @@ -128,14 +138,6 @@ config SOC_HAS_REALTIME_COUNTER
>> depends on SOC_OMAP5 || SOC_DRA7XX
>> default y
>>
>> -config SOC_DRA7XX
>> - bool "TI DRA7XX"
>> - select ARM_ARCH_TIMER
>> - select CPU_V7
>> - select ARM_GIC
>> - select HAVE_SMP
>> - select COMMON_CLK
>
> seems like you lost COMMON_CLK when moving this up, was that on purpose?
>
Yes. It comes through ARCH_OMAP2PLUS which is now selected.
-Tero
WARNING: multiple messages have this Message-ID (diff)
From: t-kristo@ti.com (Tero Kristo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: DRA7XX: Add support for DRA7XX only build
Date: Fri, 10 Jan 2014 18:32:09 +0200 [thread overview]
Message-ID: <52D02089.2070609@ti.com> (raw)
In-Reply-To: <20140110161538.GI6665@saruman.home>
On 01/10/2014 06:15 PM, Felipe Balbi wrote:
> On Fri, Jan 10, 2014 at 11:57:30AM +0200, Tero Kristo wrote:
>> SOC_DRA7XX was under wrong menu within Kconfig file, which prevented
>> DRA7XX only build. Fixed the kconfig options for this SoC as we are
>> there. voltage.c needs to be added to the DRA7XX build also, otherwise
>> DRA7XX only build will fail.
>>
>> Signed-off-by: Tero Kristo <t-kristo@ti.com>
>
> one comment below, other than that:
>
> Reviewed-by: Felipe Balbi <balbi@ti.com>
>
>> ---
>> arch/arm/mach-omap2/Kconfig | 18 ++++++++++--------
>> arch/arm/mach-omap2/Makefile | 1 +
>> 2 files changed, 11 insertions(+), 8 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
>> index dc21df1..e65948a 100644
>> --- a/arch/arm/mach-omap2/Kconfig
>> +++ b/arch/arm/mach-omap2/Kconfig
>> @@ -76,6 +76,16 @@ config SOC_AM43XX
>> select ARM_GIC
>> select MACH_OMAP_GENERIC
>>
>> +config SOC_DRA7XX
>> + bool "TI DRA7XX"
>> + depends on ARCH_MULTI_V7
>> + select ARCH_OMAP2PLUS
>> + select ARM_CPU_SUSPEND if PM
>> + select ARM_GIC
>> + select CPU_V7
>> + select HAVE_SMP
>> + select HAVE_ARM_ARCH_TIMER
>> +
>> config ARCH_OMAP2PLUS
>> bool
>> select ARCH_HAS_BANDGAP
>> @@ -128,14 +138,6 @@ config SOC_HAS_REALTIME_COUNTER
>> depends on SOC_OMAP5 || SOC_DRA7XX
>> default y
>>
>> -config SOC_DRA7XX
>> - bool "TI DRA7XX"
>> - select ARM_ARCH_TIMER
>> - select CPU_V7
>> - select ARM_GIC
>> - select HAVE_SMP
>> - select COMMON_CLK
>
> seems like you lost COMMON_CLK when moving this up, was that on purpose?
>
Yes. It comes through ARCH_OMAP2PLUS which is now selected.
-Tero
next prev parent reply other threads:[~2014-01-10 16:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 9:57 [PATCH 0/2] ARM: DRA7XX/AM43XX build fixes Tero Kristo
2014-01-10 9:57 ` Tero Kristo
2014-01-10 9:57 ` [PATCH 1/2] ARM: DRA7XX/AM43XX: randconfig fixes Tero Kristo
2014-01-10 9:57 ` Tero Kristo
2014-01-10 16:14 ` Felipe Balbi
2014-01-10 16:14 ` Felipe Balbi
2014-01-10 9:57 ` [PATCH 2/2] ARM: DRA7XX: Add support for DRA7XX only build Tero Kristo
2014-01-10 9:57 ` Tero Kristo
2014-01-10 16:15 ` Felipe Balbi
2014-01-10 16:15 ` Felipe Balbi
2014-01-10 16:32 ` Tero Kristo [this message]
2014-01-10 16:32 ` Tero Kristo
2014-01-13 16:24 ` [PATCH 0/2] ARM: DRA7XX/AM43XX build fixes Felipe Balbi
2014-01-13 16:24 ` Felipe Balbi
2014-01-13 17:13 ` Tero Kristo
2014-01-13 17:13 ` Tero Kristo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D02089.2070609@ti.com \
--to=t-kristo@ti.com \
--cc=balbi@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.