[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAfSe-uDk-ih2tqU9a3UEzr=BZgU_=+XJm9=zWbE3J4HMOuiog@mail.gmail.com>
Date: Wed, 26 Nov 2014 11:08:01 +0800
From: Lyra Zhang <zhang.lyra@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Chunyan Zhang <chunyan.zhang@...eadtrum.com>,
grant.likely@...aro.org, "robh+dt@...nel.org" <robh+dt@...nel.org>,
Catalin Marinas <catalin.marinas@....com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"ijc+devicetree@...lion.org.uk" <ijc+devicetree@...lion.org.uk>,
"jslaby@...e.cz" <jslaby@...e.cz>,
Kumar Gala <galak@...eaurora.org>,
Mark Brown <broonie@...aro.org>,
Mark Rutland <mark.rutland@....com>,
"m-karicheri2@...com" <m-karicheri2@...com>,
Pawel Moll <pawel.moll@....com>,
Ramkumar Ramachandra <artagnon@...il.com>,
"rrichter@...ium.com" <rrichter@...ium.com>,
Will Deacon <will.deacon@....com>, gnomes@...rguk.ukuu.org.uk,
corbet@....net, jason@...edaemon.net,
Mark Brown <broonie@...nel.org>, heiko@...ech.de,
shawn.guo@...escale.com, florian.vaussard@...l.ch, andrew@...n.ch,
hytszk@...il.com, Orson Zhai <orsonzhai@...il.com>,
"geng.ren@...eadtrum.com" <geng.ren@...eadtrum.com>,
"zhizhou.zhang" <zhizhou.zhang@...eadtrum.com>,
lanqing.liu@...eadtrum.com,
Wei Qiao (乔伟) <wei.qiao@...eadtrum.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"sprdlinux@...elists.org" <sprdlinux@...elists.org>,
linux-doc@...r.kernel.org, linux-serial@...r.kernel.org,
linux-api@...r.kernel.org
Subject: Re: [PATCH v3 4/5] arm64: Add support for Spreadtrum's Sharkl64
Platform in Kconfig and defconfig
2014-11-25 20:57 GMT+08:00 Arnd Bergmann <arnd@...db.de>:
>
> On Tuesday 25 November 2014 20:16:57 Chunyan Zhang wrote:
> >
> > +menuconfig ARCH_SPRD
> > + bool "Spreadtrum SoC platform"
> > + depends on ARM64
> > + help
> > + Support for Spreadtrum ARM based SoCs
> > +
> > +if ARCH_SPRD
> > +
> > +config ARCH_SHARKL64
> > + bool "Sharkl64 SoC Platform"
> > + help
> > + Sharkl64 is a Spreadtrum's SoC Platform which is based
> > + on ARM 64-bit processor core including
> > + sc9836
> > +
> > +endif #ARCH_SPRD
> > +
>
> I don't think we need multiple levels here, it should be enough to
> have either ARCH_SPRD or ARCH_SHARKL64, because all device drivers
> are going to be optional anyway. Typically a Kconfig symbol covers
> all SoCs that are related, so if you Spreadtrum are doing both
> phone and server chips and these are designed independently, you
> would have two symbols, but if you only expect to see phone chips
> here that are all derived from the same product line, using ARCH_SPRD
> to refer to all of them should be enough.
>
> Arnd
For now, we have only one platform(Sharkl64) based on ARM64 been
submitted, but we're intending to add support for more our platforms
based on ARM64 or ARM32 in the future. There are many common devices
on these platforms, such as serial. Our idea would be that if we had a
'menuconfig ARCH_SPRD' in the Kconfig, these common devices only need
to depend on ARCH_SPRD in the respective Kconfig, otherwise they may
depend on a few Kconfig symbols for every platforms which include
these common devices.
So, do you think whether we should define a menuconfig(ARCH_SPRD) in
the Kconfig for this case ?
Thanks!
Best regards,
Chunyan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists