[PATCH 1/2] powerpc: pci config cleanup [rev2]

Grant Likely grant.likely at secretlab.ca
Sun Jun 29 15:58:25 EST 2008


On Thu, Jun 26, 2008 at 11:07:56AM -0600, John Rigby wrote:
> Choosing PCI or not at config time is allowed on some
> platforms via an if expression in arch/powerpc/Kconfig.
> To add a new platform with PCI support selectable at
> config time, you must change the if expression.  This
> patch makes this easier by changing:
>     bool "PCI support" if <long expression>
> to
>     bool "PCI support" if PPC_PCI_CHOICE
> and adding select PPC_PCI_CHOICE to all the config nodes that
> were previously in the PCI if expression.
> 
> Platforms with unconditional PCI support continue to
> just select PCI in their config nodes.
> 
> Signed-off-by: John Rigby <jrigby at freescale.com>

Acked-by: Grant Likely <grant.likely at secretlab.ca>




More information about the Linuxppc-dev mailing list