net: dwc_eth_qos: Allow platform to override tx/rx_fifo_sz
authorSumit Garg <sumit.garg@linaro.org>
Wed, 1 Feb 2023 13:58:54 +0000 (19:28 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 17:50:00 +0000 (12:50 -0500)
commita962b7cff4bd9f16dabc75917dc76e9ff959ad13
treed8e9e130cafedcaed79877ee4180de572f5670ec
parent9d53f335f615d6219396358dd0a8df5ab67a849a
net: dwc_eth_qos: Allow platform to override tx/rx_fifo_sz

The GMAC controller on QCS404 SoC (support added by upcoming patch) fails
to work with maximum tx/rx_fifo_sz supported by the hardware (16K). So
allow platforms to override FIFO size using corresponding DT node
properties.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/dwc_eth_qos.c
drivers/net/dwc_eth_qos.h