[RFC PATCH 08/19] powerpc: gamecube/wii: do not include PCI support
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Nov 26 16:10:33 EST 2009
On Sun, 2009-11-22 at 16:21 -0700, Grant Likely wrote:
> On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz <albert_herranz at yahoo.es> 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 <albert_herranz at yahoo.es>
> > ---
> > 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.
More information about the Linuxppc-dev
mailing list