[PATCH V3 1/4] arm64: Add Kconfig option for APM X-Gene SOC family

Catalin Marinas catalin.marinas at arm.com
Fri Jun 21 10:07:19 EDT 2013


On Fri, Jun 21, 2013 at 11:43:59AM +0100, Vinayak Kale wrote:
> On Fri, Jun 21, 2013 at 3:06 PM, Catalin Marinas
> <catalin.marinas at arm.com> wrote:
> > Hi Vinayak,
> >
> > On Wed, Apr 24, 2013 at 10:06:57AM +0100, Vinayak Kale wrote:
> >> This patch adds arm64/Kconfig option for APM X-Gene SOC family.
> >>
> >> Signed-off-by: Kumar Sankaran <ksankaran at apm.com>
> >> Signed-off-by: Loc Ho <lho at apm.com>
> >> Signed-off-by: Feng Kan <fkan at apm.com>
> >> ---
> >>  arch/arm64/Kconfig |    7 +++++++
> >>  1 files changed, 7 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> >> index 43b0e9f..16d0198 100644
> >> --- a/arch/arm64/Kconfig
> >> +++ b/arch/arm64/Kconfig
> >> @@ -114,6 +114,11 @@ config ARCH_VEXPRESS
> >>         This enables support for the ARMv8 software model (Versatile
> >>         Express).
> >>
> >> +config ARCH_XGENE
> >> +     bool "AppliedMicro X-Gene SOC Family"
> >> +     help
> >> +       This enables support for AppliedMicro X-Gene SOC Family
> >> +
> >>  endmenu
> >>
> >>  menu "Bus support"
> >> @@ -153,6 +158,8 @@ config NR_CPUS
> >>       int "Maximum number of CPUs (2-32)"
> >>       range 2 32
> >>       depends on SMP
> >> +     # These have to remain sorted largest to smallest
> >> +     default "8" if ARCH_XGENE
> >>       default "4"
> >
> > For ARCH_VEXPRESS I was planning to get rid of the Kconfig entry and
> > just select the drivers in the defconfig file (once some other patches
> > get merged). Do you have any dependencies on ARCH_XGENE apart from
> > what's here?
> 
> Apart from here, we do have dependency on ARCH_XGENE:
> 1) To select XGENE SoC specific dtb compilation

We can build all of them.

> 2) Use this to forcefully select certain platform drivers such as Clock.

The vexpress-related clocks etc. will simply depend on ARM64 (patches
going upstream) and we enable them in defconfig. Can you do the same for
X-Gene?

-- 
Catalin



More information about the linux-arm-kernel mailing list