[U-Boot] [PATCH] pci: Move CONFIG_PCI_PNP to Kconfig
Bin Meng
bmeng.cn at gmail.com
Fri Oct 14 08:28:14 CEST 2016
Hi Tom,
On Wed, Oct 12, 2016 at 8:46 PM, Tom Rini <trini at konsulko.com> wrote:
> On Sun, Oct 09, 2016 at 10:04:33PM -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>
> [snip]
>> 594 files changed, 460 insertions(+), 195 deletions(-)
> [snip]
>> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
>> index 9a7c187..7fa429b 100644
>> --- a/drivers/pci/Kconfig
>> +++ b/drivers/pci/Kconfig
>> @@ -18,6 +18,11 @@ 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"
>> + help
>> + Enable PCI memory and I/O space resource allocation and assignment.
>
> This should be depends on PCI (if all of these options aren't already
> hidden by that, that is) and default y, or default y if ...something.
> Thanks!
I see some of board configuration header file does not define PCI_PNP
but defined PCI, so it is not a "default y if PCI". I will add a
"depends on PCI || DM_PCI" in v2. Is that OK?
Regards,
Bin
More information about the U-Boot
mailing list