[U-Boot] [PATCH] x86: kconfig: Imply CMD_PCI

Stefan Roese sr at denx.de
Wed Aug 16 12:43:51 UTC 2017


On 16.08.2017 14:46, Bin Meng wrote:
> Let's imply the 'pci' command to access the de facto interconnect
> bus in an x86 system.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
> 
>   arch/Kconfig                                            | 1 +
>   configs/bayleybay_defconfig                             | 1 -
>   configs/chromebook_link64_defconfig                     | 1 -
>   configs/chromebook_link_defconfig                       | 1 -
>   configs/chromebook_samus_defconfig                      | 1 -
>   configs/chromebox_panther_defconfig                     | 1 -
>   configs/conga-qeval20-qa3-e3845-internal-uart_defconfig | 1 -
>   configs/conga-qeval20-qa3-e3845_defconfig               | 1 -
>   configs/coreboot-x86_defconfig                          | 1 -
>   configs/cougarcanyon2_defconfig                         | 1 -
>   configs/crownbay_defconfig                              | 1 -
>   configs/dfi-bt700-q7x-151_defconfig                     | 1 -
>   configs/edison_defconfig                                | 1 +
>   configs/efi-x86_defconfig                               | 1 -
>   configs/galileo_defconfig                               | 1 -
>   configs/minnowmax_defconfig                             | 1 -
>   configs/qemu-x86_64_defconfig                           | 1 -
>   configs/qemu-x86_defconfig                              | 1 -
>   configs/qemu-x86_efi_payload32_defconfig                | 1 -
>   configs/qemu-x86_efi_payload64_defconfig                | 1 -
>   configs/som-db5800-som-6867_defconfig                   | 1 -
>   configs/theadorable-x86-dfi-bt700_defconfig             | 1 -
>   22 files changed, 2 insertions(+), 20 deletions(-)
> 
> diff --git a/arch/Kconfig b/arch/Kconfig
> index 78532f5..3fc3c57 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -112,6 +112,7 @@ config X86
>   	imply CMD_GETTIME
>   	imply CMD_IO
>   	imply CMD_IRQ
> +	imply CMD_PCI
>   	imply CMD_SF_TEST
>   	imply CMD_ZBOOT
>   
> diff --git a/configs/bayleybay_defconfig b/configs/bayleybay_defconfig
> index b17113f..58a5931 100644
> --- a/configs/bayleybay_defconfig
> +++ b/configs/bayleybay_defconfig
> @@ -23,7 +23,6 @@ CONFIG_CMD_CPU=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/chromebook_link64_defconfig b/configs/chromebook_link64_defconfig
> index f058e56..da24715 100644
> --- a/configs/chromebook_link64_defconfig
> +++ b/configs/chromebook_link64_defconfig
> @@ -35,7 +35,6 @@ CONFIG_CMD_CPU=y
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_GPIO=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/chromebook_link_defconfig b/configs/chromebook_link_defconfig
> index 7fcddba..aaabb22 100644
> --- a/configs/chromebook_link_defconfig
> +++ b/configs/chromebook_link_defconfig
> @@ -19,7 +19,6 @@ CONFIG_CMD_CPU=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/chromebook_samus_defconfig b/configs/chromebook_samus_defconfig
> index 2c294bd..8df2c4c 100644
> --- a/configs/chromebook_samus_defconfig
> +++ b/configs/chromebook_samus_defconfig
> @@ -19,7 +19,6 @@ CONFIG_CMD_CPU=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/chromebox_panther_defconfig b/configs/chromebox_panther_defconfig
> index a81a9cc..2eb30bd 100644
> --- a/configs/chromebox_panther_defconfig
> +++ b/configs/chromebox_panther_defconfig
> @@ -15,7 +15,6 @@ CONFIG_HUSH_PARSER=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
> index 89ba0b6..9575c53 100644
> --- a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
> +++ b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
> @@ -25,7 +25,6 @@ CONFIG_CMD_GPIO=y
>   CONFIG_CMD_I2C=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/conga-qeval20-qa3-e3845_defconfig b/configs/conga-qeval20-qa3-e3845_defconfig
> index 0edacb8..b12be65 100644
> --- a/configs/conga-qeval20-qa3-e3845_defconfig
> +++ b/configs/conga-qeval20-qa3-e3845_defconfig
> @@ -25,7 +25,6 @@ CONFIG_CMD_GPIO=y
>   CONFIG_CMD_I2C=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/coreboot-x86_defconfig b/configs/coreboot-x86_defconfig
> index badfbfb..9f3bc3f 100644
> --- a/configs/coreboot-x86_defconfig
> +++ b/configs/coreboot-x86_defconfig
> @@ -12,7 +12,6 @@ CONFIG_HUSH_PARSER=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_IDE=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/cougarcanyon2_defconfig b/configs/cougarcanyon2_defconfig
> index f7eca76..2d8ebae 100644
> --- a/configs/cougarcanyon2_defconfig
> +++ b/configs/cougarcanyon2_defconfig
> @@ -11,7 +11,6 @@ CONFIG_HUSH_PARSER=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
> index 93f96b0..a46dd66 100644
> --- a/configs/crownbay_defconfig
> +++ b/configs/crownbay_defconfig
> @@ -18,7 +18,6 @@ CONFIG_CMD_CPU=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/dfi-bt700-q7x-151_defconfig b/configs/dfi-bt700-q7x-151_defconfig
> index 6dcc2fe..2aaac6e 100644
> --- a/configs/dfi-bt700-q7x-151_defconfig
> +++ b/configs/dfi-bt700-q7x-151_defconfig
> @@ -23,7 +23,6 @@ CONFIG_CMD_CPU=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/edison_defconfig b/configs/edison_defconfig
> index b55cc78..f4d66e1 100644
> --- a/configs/edison_defconfig
> +++ b/configs/edison_defconfig
> @@ -16,6 +16,7 @@ CONFIG_CMD_DFU=y
>   CONFIG_CMD_GPT=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> +# CONFIG_CMD_PCI is not set
>   # CONFIG_CMD_NFS is not set
>   CONFIG_CMD_TIMER=y
>   CONFIG_CMD_HASH=y
> diff --git a/configs/efi-x86_defconfig b/configs/efi-x86_defconfig
> index 218b838..f397bfd 100644
> --- a/configs/efi-x86_defconfig
> +++ b/configs/efi-x86_defconfig
> @@ -13,7 +13,6 @@ CONFIG_HUSH_PARSER=y
>   # CONFIG_CMD_IMLS is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   # CONFIG_CMD_SF_TEST is not set
>   CONFIG_CMD_SPI=y
> diff --git a/configs/galileo_defconfig b/configs/galileo_defconfig
> index 6ad7f1b..514e3c5 100644
> --- a/configs/galileo_defconfig
> +++ b/configs/galileo_defconfig
> @@ -18,7 +18,6 @@ CONFIG_CMD_CPU=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig
> index ad97ad0..7b237ab 100644
> --- a/configs/minnowmax_defconfig
> +++ b/configs/minnowmax_defconfig
> @@ -25,7 +25,6 @@ CONFIG_CMD_CPU=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/qemu-x86_64_defconfig b/configs/qemu-x86_64_defconfig
> index 3f7bbe4..67e9a45 100644
> --- a/configs/qemu-x86_64_defconfig
> +++ b/configs/qemu-x86_64_defconfig
> @@ -34,7 +34,6 @@ CONFIG_CMD_CPU=y
>   # CONFIG_CMD_IMLS is not set
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_IDE=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/qemu-x86_defconfig b/configs/qemu-x86_defconfig
> index aba7f1e..7ce97ff 100644
> --- a/configs/qemu-x86_defconfig
> +++ b/configs/qemu-x86_defconfig
> @@ -17,7 +17,6 @@ CONFIG_CMD_CPU=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_IDE=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/qemu-x86_efi_payload32_defconfig b/configs/qemu-x86_efi_payload32_defconfig
> index 5c0f129..11a4a9e 100644
> --- a/configs/qemu-x86_efi_payload32_defconfig
> +++ b/configs/qemu-x86_efi_payload32_defconfig
> @@ -14,7 +14,6 @@ CONFIG_CMD_CPU=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_IDE=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/qemu-x86_efi_payload64_defconfig b/configs/qemu-x86_efi_payload64_defconfig
> index 8a2e243..d123de2 100644
> --- a/configs/qemu-x86_efi_payload64_defconfig
> +++ b/configs/qemu-x86_efi_payload64_defconfig
> @@ -15,7 +15,6 @@ CONFIG_CMD_CPU=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_IDE=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/som-db5800-som-6867_defconfig b/configs/som-db5800-som-6867_defconfig
> index fdb83e1..4489ddf 100644
> --- a/configs/som-db5800-som-6867_defconfig
> +++ b/configs/som-db5800-som-6867_defconfig
> @@ -22,7 +22,6 @@ CONFIG_CMD_CPU=y
>   # CONFIG_CMD_FLASH is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> diff --git a/configs/theadorable-x86-dfi-bt700_defconfig b/configs/theadorable-x86-dfi-bt700_defconfig
> index 8ccb957..45cd74d 100644
> --- a/configs/theadorable-x86-dfi-bt700_defconfig
> +++ b/configs/theadorable-x86-dfi-bt700_defconfig
> @@ -22,7 +22,6 @@ CONFIG_CMD_CPU=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_PART=y
> -CONFIG_CMD_PCI=y
>   CONFIG_CMD_SF=y
>   CONFIG_CMD_SPI=y
>   CONFIG_CMD_USB=y
> 

Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list