Skip to content
Commit a08f2f7b authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

net: dwc_eth_qos: add Kconfig option to select supported configuration



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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 9996cea7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment