mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 12:54:37 +00:00
net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_config
The current glue code is specific to STM32MP15xx, the upcoming STM32MP13xx will introduce another entry specific to the STM32MP13xx. Rename the current entry to eqos_stm32mp15_config in preparation for STM32MP13xx addition. No functional change. Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Christophe ROULLIER <christophe.roullier@foss.st.com>
This commit is contained in:
parent
343742661b
commit
85d1de9a1f
3 changed files with 3 additions and 3 deletions
|
@ -1507,7 +1507,7 @@ static const struct udevice_id eqos_ids[] = {
|
|||
#if IS_ENABLED(CONFIG_DWC_ETH_QOS_STM32)
|
||||
{
|
||||
.compatible = "st,stm32mp1-dwmac",
|
||||
.data = (ulong)&eqos_stm32_config
|
||||
.data = (ulong)&eqos_stm32mp15_config
|
||||
},
|
||||
#endif
|
||||
#if IS_ENABLED(CONFIG_DWC_ETH_QOS_IMX)
|
||||
|
|
|
@ -290,5 +290,5 @@ 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_stm32_config;
|
||||
extern struct eqos_config eqos_stm32mp15_config;
|
||||
extern struct eqos_config eqos_jh7110_config;
|
||||
|
|
|
@ -184,7 +184,7 @@ static struct eqos_ops eqos_stm32_ops = {
|
|||
.eqos_get_tick_clk_rate = eqos_get_tick_clk_rate_stm32
|
||||
};
|
||||
|
||||
struct eqos_config __maybe_unused eqos_stm32_config = {
|
||||
struct eqos_config __maybe_unused eqos_stm32mp15_config = {
|
||||
.reg_access_always_ok = false,
|
||||
.mdio_wait = 10000,
|
||||
.swr_wait = 50,
|
||||
|
|
Loading…
Add table
Reference in a new issue