[PATCH] ARM: shmobile: Enable R-Car Gen 2 PCIe in shmobile_defconfig
Simon Horman
horms at verge.net.au
Tue Jul 8 01:15:44 PDT 2014
On Mon, Jul 07, 2014 at 01:59:12PM +0000, Phil Edworthy wrote:
> Hi Sergei
>
> On 07 July 2014 14:54, Sergei wrote:
> > On 07/07/2014 05:23 PM, Simon Horman wrote:
> >
> > > The R-Car Gen 2 PCIe driver provides PCIe host support for
> > > Renesas R-Car Gen2 platforms. To increase hardware support enable
> > > the driver in the shmobile_defconfig multiplatform configuration.
> >
> > > Cc: Phil Edworthy <phil.edworthy at renesas.com>
> > > Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
> > > ---
> > > arch/arm/configs/shmobile_defconfig | 1 +
> > > 1 file changed, 1 insertion(+)
> >
> > > diff --git a/arch/arm/configs/shmobile_defconfig
> > b/arch/arm/configs/shmobile_defconfig
> > > index 5f05e98..6bc85a5 100644
> > > --- a/arch/arm/configs/shmobile_defconfig
> > > +++ b/arch/arm/configs/shmobile_defconfig
> > > @@ -24,6 +24,7 @@ CONFIG_PL310_ERRATA_588369=y
> > > CONFIG_ARM_ERRATA_754322=y
> > > CONFIG_PCI=y
> > > CONFIG_PCI_RCAR_GEN2=y
> > > +CONFIG_PCI_RCAR_GEN2_PCIE=y
> >
> > Hmm, I'm not sure why the option has GEN2 -- the driver claims support for
> > R8A7779 as well as R8A779x. Probably the option should be renamed.
> Technically, you are correct. However, whilst the driver does support R8A7779, that device only supports 32-bit
> accesses over the PCIe bus so it's only useful for custom cards, not off-the-shelf PCIe cards.
It seems to me that dropping GEN2 from the config option may be a good idea.
But I believe that conversation is orthogonal to enabling the driver
in the defconfig. At this stage I plan to apply this patch.
More information about the linux-arm-kernel
mailing list