[U-Boot] [PATCH] pci: Move CONFIG_PCI_PNP to Kconfig

Tom Rini trini at konsulko.com
Mon Oct 17 13:50:33 CEST 2016


On Sun, Oct 16, 2016 at 11:35:18PM -0700, Bin Meng wrote:

> Introduce CONFIG_PCI_PNP in Kconfig and move over boards' defconfig
> to use that.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> 
> ---
> 
> Changes in v2:
> - Change PCI_PNP to "depends on" and "default y" if PCI || DM_PCI

Thanks!

[snip]
> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> index 9a7c187..5252250 100644
> --- a/drivers/pci/Kconfig
> +++ b/drivers/pci/Kconfig
> @@ -18,6 +18,13 @@ config DM_PCI_COMPAT
>  	  measure when porting a board to use driver model for PCI. Once the
>  	  board is fully supported, this option should be disabled.
>  
> +config PCI_PNP
> +	bool "Enable Plug & Play support for PCI"
> +	depends on PCI || DM_PCI
> +	default y if PCI || DM_PCI

This should just be default y since we depend on those two options
directly.  I'll just fix it up when applying.

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161017/b64f7cfc/attachment.sig>


More information about the U-Boot mailing list