[U-Boot] [PATCH 9/9] armv8: ls1046a: Enable PCIe support

Bin Meng bmeng.cn at gmail.com
Mon Oct 10 13:41:49 CEST 2016


Hi Minghuan,

On Mon, Oct 10, 2016 at 4:47 PM, Minghuan Lian <Minghuan.Lian at nxp.com> wrote:
> Signed-off-by: Minghuan Lian <Minghuan.Lian at nxp.com>
> ---
>  include/configs/ls1046a_common.h | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>
> diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
> index 7c5e635..f8f5ee2 100644
> --- a/include/configs/ls1046a_common.h
> +++ b/include/configs/ls1046a_common.h
> @@ -117,6 +117,21 @@
>  #define CONFIG_SYS_I2C_MXC_I2C3
>  #define CONFIG_SYS_I2C_MXC_I2C4
>
> +/* PCIe */
> +#define CONFIG_PCI             /* Enable PCI/PCIE */
> +#define CONFIG_DM_PCI          /* Enable driver mode for PCI */
> +#define CONFIG_DM_PCI_COMPAT
> +#define CONFIG_PCIE_LAYERSCAPE /* Use common FSL Layerscape PCIe code */
> +#define CONFIG_SYS_PCI_64BIT

Please do not add any Kconfig option in the header file any more.
These already converted Kconfig options should be moved to boards'
defconfig files.

> +
> +#ifdef CONFIG_PCI
> +#define CONFIG_PCI_PNP
> +#define CONFIG_PCI_SCAN_SHOW
> +#define CONFIG_CMD_PCI
> +#define CONFIG_NET_MULTI
> +#define CONFIG_E1000
> +#endif
> +
>  /* Command line configuration */
>  #define CONFIG_CMD_ENV
>
> --

Regards,
Bin


More information about the U-Boot mailing list