[U-Boot] [PATCH v3 14/14] net: gem: Move gem to Kconfig
Jagan Teki
jteki at openedev.com
Thu Dec 3 17:19:30 CET 2015
On 3 December 2015 at 20:18, Michal Simek <michal.simek at xilinx.com> wrote:
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
Reviewed-by: Jagan Teki <jteki at openedev.com>
>
> Changes in v3: None
> Changes in v2: None
>
> configs/xilinx_zynqmp_ep_defconfig | 1 +
> configs/zynq_microzed_defconfig | 1 +
> configs/zynq_picozed_defconfig | 1 +
> configs/zynq_zc702_defconfig | 1 +
> configs/zynq_zc706_defconfig | 1 +
> configs/zynq_zc770_xm010_defconfig | 1 +
> configs/zynq_zc770_xm011_defconfig | 1 +
> configs/zynq_zc770_xm012_defconfig | 1 +
> configs/zynq_zc770_xm013_defconfig | 1 +
> configs/zynq_zed_defconfig | 1 +
> configs/zynq_zybo_defconfig | 1 +
> drivers/net/Kconfig | 6 ++++++
> include/configs/xilinx_zynqmp.h | 4 +---
> include/configs/xilinx_zynqmp_ep.h | 3 ---
> include/configs/zynq-common.h | 3 +--
> include/configs/zynq_microzed.h | 3 ---
> include/configs/zynq_picozed.h | 3 ---
> include/configs/zynq_zc70x.h | 3 ---
> include/configs/zynq_zc770.h | 4 ----
> include/configs/zynq_zed.h | 3 ---
> include/configs/zynq_zybo.h | 3 ---
> 21 files changed, 19 insertions(+), 27 deletions(-)
>
> diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defconfig
> index 79304c1fb121..22915f19bfbb 100644
> --- a/configs/xilinx_zynqmp_ep_defconfig
> +++ b/configs/xilinx_zynqmp_ep_defconfig
> @@ -22,4 +22,5 @@ CONFIG_CMD_TIME=y
> CONFIG_CMD_TIMER=y
> CONFIG_OF_EMBED=y
> CONFIG_NET_RANDOM_ETHADDR=y
> +CONFIG_ZYNQ_GEM=y
> # CONFIG_REGEX is not set
> diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
> index 0608d8a733cf..c68efc8f41af 100644
> --- a/configs/zynq_microzed_defconfig
> +++ b/configs/zynq_microzed_defconfig
> @@ -16,4 +16,5 @@ CONFIG_SPI_FLASH_SPANSION=y
> CONFIG_SPI_FLASH_STMICRO=y
> CONFIG_SPI_FLASH_WINBOND=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> CONFIG_ZYNQ_QSPI=y
> diff --git a/configs/zynq_picozed_defconfig b/configs/zynq_picozed_defconfig
> index d6f0ce388832..62eb79f630e3 100644
> --- a/configs/zynq_picozed_defconfig
> +++ b/configs/zynq_picozed_defconfig
> @@ -9,3 +9,4 @@ CONFIG_CMD_GPIO=y
> # CONFIG_CMD_SETEXPR is not set
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig
> index 8318b94ecbb2..dd588aff72db 100644
> --- a/configs/zynq_zc702_defconfig
> +++ b/configs/zynq_zc702_defconfig
> @@ -15,4 +15,5 @@ CONFIG_SPI_FLASH_SPANSION=y
> CONFIG_SPI_FLASH_STMICRO=y
> CONFIG_SPI_FLASH_WINBOND=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> CONFIG_ZYNQ_QSPI=y
> diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
> index 533aff9a7531..2e525b42d42a 100644
> --- a/configs/zynq_zc706_defconfig
> +++ b/configs/zynq_zc706_defconfig
> @@ -16,4 +16,5 @@ CONFIG_SPI_FLASH_SPANSION=y
> CONFIG_SPI_FLASH_STMICRO=y
> CONFIG_SPI_FLASH_WINBOND=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> CONFIG_ZYNQ_QSPI=y
> diff --git a/configs/zynq_zc770_xm010_defconfig b/configs/zynq_zc770_xm010_defconfig
> index 689d19e992da..6f2ad17985e1 100644
> --- a/configs/zynq_zc770_xm010_defconfig
> +++ b/configs/zynq_zc770_xm010_defconfig
> @@ -18,5 +18,6 @@ CONFIG_SPI_FLASH_STMICRO=y
> CONFIG_SPI_FLASH_SST=y
> CONFIG_SPI_FLASH_WINBOND=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> CONFIG_ZYNQ_SPI=y
> CONFIG_ZYNQ_QSPI=y
> diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_zc770_xm011_defconfig
> index c7125c304ab8..d20b3edf5cb3 100644
> --- a/configs/zynq_zc770_xm011_defconfig
> +++ b/configs/zynq_zc770_xm011_defconfig
> @@ -13,3 +13,4 @@ CONFIG_CMD_GPIO=y
> # CONFIG_CMD_SETEXPR is not set
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> diff --git a/configs/zynq_zc770_xm012_defconfig b/configs/zynq_zc770_xm012_defconfig
> index a8f28da11767..4e963a45e2cf 100644
> --- a/configs/zynq_zc770_xm012_defconfig
> +++ b/configs/zynq_zc770_xm012_defconfig
> @@ -11,3 +11,4 @@ CONFIG_CMD_GPIO=y
> # CONFIG_CMD_SETEXPR is not set
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> diff --git a/configs/zynq_zc770_xm013_defconfig b/configs/zynq_zc770_xm013_defconfig
> index 6b2fd8ca4ebb..f2d8f14f8784 100644
> --- a/configs/zynq_zc770_xm013_defconfig
> +++ b/configs/zynq_zc770_xm013_defconfig
> @@ -13,3 +13,4 @@ CONFIG_CMD_GPIO=y
> # CONFIG_CMD_SETEXPR is not set
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
> index 4076c30707b1..2e7c68d6a49e 100644
> --- a/configs/zynq_zed_defconfig
> +++ b/configs/zynq_zed_defconfig
> @@ -16,4 +16,5 @@ CONFIG_SPI_FLASH_SPANSION=y
> CONFIG_SPI_FLASH_STMICRO=y
> CONFIG_SPI_FLASH_WINBOND=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> CONFIG_ZYNQ_QSPI=y
> diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig
> index c51049e664b1..6f0bd0b79c5e 100644
> --- a/configs/zynq_zybo_defconfig
> +++ b/configs/zynq_zybo_defconfig
> @@ -12,6 +12,7 @@ CONFIG_CMD_GPIO=y
> # CONFIG_CMD_SETEXPR is not set
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_PHYLIB=y
> +CONFIG_ZYNQ_GEM=y
> CONFIG_DEBUG_UART=y
> CONFIG_DEBUG_UART_ZYNQ=y
> CONFIG_DEBUG_UART_BASE=0xe0001000
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index a03a95d0fbff..6905cc02e392 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -101,4 +101,10 @@ config PCH_GBE
> This MAC is present in Intel Platform Controller Hub EG20T. It
> supports 10/100/1000 Mbps operation.
>
> +config ZYNQ_GEM
> + depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
> + bool "Xilinx Ethernet GEM"
> + help
> + This MAC is presetn in Xilinx Zynq and ZynqMP SoCs.
%s/presetn/present/g
And better to add few more lines of help text, least of 3 lines.
thanks!
--
Jagan.
More information about the U-Boot
mailing list