[PATCH] net: dwc_eth_qos: add Kconfig option to select supported configuration

Tom Rini
2020-08-05T20:26:52Z

On Mon, Jun 08, 2020 at 11:27:19AM +0200, Patrick Delaunay wrote:

> Add configuration flag to select the supported dwc driver configuration:
> - CONFIG_DWC_ETH_QOS_TEGRA186
> - CONFIG_DWC_ETH_QOS_IMX
> - CONFIG_DWC_ETH_QOS_STM32
>
> See Linux driver ethernet/stmicro/stmmac and associated glue layers
> for other configuration examples.
>
> This patch removes the not-selected compatibles and lets the linker remove
> the unused functions to reduce the size of the driver.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>

Applied to u-boot/master, thanks!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200805/9abe1301/attachment.sig>