From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 24 Oct 2016 21:09:11 -0400 Subject: [U-Boot] [PATCH] pci: Move CONFIG_PCI_PNP to Kconfig In-Reply-To: References: <1476686118-3594-1-git-send-email-bmeng.cn@gmail.com> <20161017115033.GR18591@bill-the-cat> Message-ID: <20161025010911.GR18591@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Oct 25, 2016 at 09:08:04AM +0800, Bin Meng wrote: > Hi Tom, > > On Mon, Oct 17, 2016 at 7:50 PM, Tom Rini wrote: > > 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 > >> > >> --- > >> > >> 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 > > > > Will this be picked up for the v2016.11 release? PCI itself needs to be fully migrated first, it exists in arch/sandbox/Kconfig which is why this patch doesn't totally blow up, but it does get a lot of build failures :) -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: