Subject: Re: [RFC PATCH 08/19] powerpc: gamecube/wii: do not include PCI support

From: Benjamin Herrenschmidt <[email-masked]>
Date: Thu, 26 Nov 2009 16:10:33 +1100

On Sun, 2009-11-22 at 16:21 -0700, Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz <[email-masked]> wrote:
> > The Nintendo GameCube and Wii video game consoles do not have PCI hardware.
> > Avoid wasting their scarce memory by not including PCI support into the
> > kernel.
> >
> > Signed-off-by: Albert Herranz <[email-masked]>
> > ---
> >  arch/powerpc/Kconfig |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> > index 2ba14e7..84b2566 100644
> > --- a/arch/powerpc/Kconfig
> > +++ b/arch/powerpc/Kconfig
> > @@ -679,7 +679,7 @@ config PPC_PCI_CHOICE
> >  config PCI
> >        bool "PCI support" if PPC_PCI_CHOICE
> >        default y if !40x && !CPM2 && !8xx && !PPC_83xx \
> > -               && !PPC_85xx && !PPC_86xx
> > +               && !PPC_85xx && !PPC_86xx && !GAMECUBE_COMMON
> 
> phew, this is getting ugly.  But I won't ask you to clean it up.  Ack

Right. We should have the platforms that want PCI do a select
instead :-)

Cheers,
Ben.