
5 Aug
2020
5 Aug
'20
10:26 p.m.
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