summaryrefslogtreecommitdiff
path: root/drivers/net/dwc_eth_qos.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-10-08 09:58:55 -0400
committerTom Rini <trini@konsulko.com>2023-10-08 09:58:55 -0400
commitd9bb6d779b69c2548891e568e5e2a23e1b7eedaa (patch)
tree53bccb62f9302d5cba0e709475683e4f823b00dc /drivers/net/dwc_eth_qos.h
parent83aa0ed1e93e1ffac24888d98d37a5b04ed3fb07 (diff)
parentdd8d52c934e8858264f91e8e8e2d8c7d8b059dd7 (diff)
Merge tag 'u-boot-rockchip-20231007' of https://source.denx.de/u-boot/custodians/u-boot-rockchip
- Add Board: rk3568 Bananapi R2Pro; - Update pcie bifurcation support; - dwc_eth_qos controller support for rk3568 and rk3588; - Compressed binary support for U-Boot on rockchip platform; - dts and config updates for different board and soc; [ trini: Fix conflict on include/spl.h ] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/net/dwc_eth_qos.h')
-rw-r--r--drivers/net/dwc_eth_qos.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/dwc_eth_qos.h b/drivers/net/dwc_eth_qos.h
index a6b719af809..e3222e1e17e 100644
--- a/drivers/net/dwc_eth_qos.h
+++ b/drivers/net/dwc_eth_qos.h
@@ -82,6 +82,7 @@ struct eqos_mac_regs {
#define EQOS_MAC_MDIO_ADDRESS_PA_SHIFT 21
#define EQOS_MAC_MDIO_ADDRESS_RDA_SHIFT 16
#define EQOS_MAC_MDIO_ADDRESS_CR_SHIFT 8
+#define EQOS_MAC_MDIO_ADDRESS_CR_100_150 1
#define EQOS_MAC_MDIO_ADDRESS_CR_20_35 2
#define EQOS_MAC_MDIO_ADDRESS_CR_250_300 5
#define EQOS_MAC_MDIO_ADDRESS_SKAP BIT(4)
@@ -273,7 +274,6 @@ struct eqos_priv {
unsigned int desc_per_cacheline;
void *tx_dma_buf;
void *rx_dma_buf;
- void *rx_pkt;
bool started;
bool reg_access_ok;
bool clk_ck_enabled;
@@ -288,5 +288,6 @@ void eqos_flush_buffer_generic(void *buf, size_t size);
int eqos_null_ops(struct udevice *dev);
extern struct eqos_config eqos_imx_config;
+extern struct eqos_config eqos_rockchip_config;
extern struct eqos_config eqos_qcom_config;
extern struct eqos_config eqos_jh7110_config;