Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 13557C5475B for ; Sat, 9 Mar 2024 02:19:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 77B8687EE6; Sat, 9 Mar 2024 03:19:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1709950747; bh=+t6gy/FRN25w/SUr6D3KEJ9PPmeszlEDMrh0Obre4Wc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=SG/aFOnFco9jhPX6q8o4ZRihG7aLizRM+TuFPYM4fzM8F2/gxvWZhLdU3KEoS3lXh ThKifKpZeSwstEt5OhdHwz1un65/YNrbR1s1pJZvN3iw4xBN+OMANqsOO/wmdbFq/i q8/J2powyqepR1ws/27+VvoMK9IBuHRkEGCV/DYxazI0Ucli18C88HCXfywM68z+B4 ztJCjQnAfw2Bn4W5j9yrFxyhN8tGedptzh3wDh1h8JuXA5cc/InTK9PlQz5SgJEA2w cgO4Iw3RBsExL01XrSYgSf1W5KBKxLX4RvSg3hjisEFdhGJxPrDZJ69i4QCicujq1k jAswtyF2eIHbw== Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9BC6C87D45; Sat, 9 Mar 2024 03:18:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1709950735; bh=+t6gy/FRN25w/SUr6D3KEJ9PPmeszlEDMrh0Obre4Wc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dzJSBZ0+fqBB1MsCVdCgxOfnZr9iQ/xqtDGLqQhYRpmW3X4CPsR4KFG2eIsk4/esE szcNvskuKyO4ZIl3xWL7Ht1FKIF0BzBy9wGvyBkadcrkBUnU3rmNj/rHJxfVN2gXqp Zsqj1XC8YPMMXxgbzzgEAAPNw+hxQk5D9ii+QWYYhiq3ks+sil03qbNEtqGXcNpjz6 bn9Br+Q/2uXVjNPgXfQTpVCBbL+KUJ5jnd8K3G4giBLdkPQGIlkABEy9B847k2U/Ip /rW+I1iFpXJ9rXw38HFJ3xajIfgEzmvQif1m5911NpZ/8UPIs2TAssdjZfagVkWLFM x6MSdrbjyd6Bg== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Christophe Roullier , Joe Hershberger , Patrice Chotard , Patrick Delaunay , Ramon Fried , u-boot@dh-electronics.com, uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 02/11] net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_config Date: Sat, 9 Mar 2024 03:11:23 +0100 Message-ID: <20240309021831.264018-3-marex@denx.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240309021831.264018-1-marex@denx.de> References: <20240309021831.264018-1-marex@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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. Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc: u-boot@dh-electronics.com Cc: uboot-stm32@st-md-mailman.stormreply.com --- drivers/net/dwc_eth_qos.c | 2 +- drivers/net/dwc_eth_qos.h | 2 +- drivers/net/dwc_eth_qos_stm32.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 533c2bf070b..203bfc0848c 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -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) diff --git a/drivers/net/dwc_eth_qos.h b/drivers/net/dwc_eth_qos.h index a6087f191ab..bafd0d339fb 100644 --- a/drivers/net/dwc_eth_qos.h +++ b/drivers/net/dwc_eth_qos.h @@ -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; diff --git a/drivers/net/dwc_eth_qos_stm32.c b/drivers/net/dwc_eth_qos_stm32.c index cfda757133e..fd29a604987 100644 --- a/drivers/net/dwc_eth_qos_stm32.c +++ b/drivers/net/dwc_eth_qos_stm32.c @@ -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, -- 2.43.0