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 74289C021BB for ; Tue, 25 Feb 2025 11:49:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 30E3080FDE; Tue, 25 Feb 2025 12:49:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="KOTdSbtH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C39B80FDA; Tue, 25 Feb 2025 12:49:26 +0100 (CET) Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B8B66805C3 for ; Tue, 25 Feb 2025 12:49:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=c-vankar@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 51PBn9AZ1221226 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Feb 2025 05:49:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1740484149; bh=9hmsmTtuGB9t6guvNcBGEaSOwUdSwq5z0HPL+wM1zhY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KOTdSbtHIfkbcEkEoB0kcgnLD1pghfTQR8R+HgsD6dMoNvaqyr/tINJd7WkVx985b VtmQXM4Vn6Q+x3d4oBsHRQCS3egPWycgIUYevq8arBhW3bj+a8bxudYm7NCNksJAnb dhrE1ZwVfb5R2vbmDWwKVE5zaQGay3XlDgTvXydY= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 51PBn9DL056899 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 25 Feb 2025 05:49:09 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 25 Feb 2025 05:49:09 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 25 Feb 2025 05:49:09 -0600 Received: from localhost (chintan-thinkstation-p360-tower.dhcp.ti.com [172.24.227.220]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 51PBn8rq112282; Tue, 25 Feb 2025 05:49:08 -0600 From: Chintan Vankar To: Michael Walle , Matthias Schiffer , MD Danish Anwar , Roger Quadros , Hari Nagalla , "Manorit Chawdhry" , Jonathan Humphreys , Santhosh Kumar K , Ilias Apalodimas , Neha Malcom Francis , Andreas Dannenberg , Andrew Davis , "Alexander Sverdlin" , Joao Paulo Goncalves , Kishon Vijay Abraham I , "Chintan Vankar" , Wadim Egorov , Ramon Fried , Joe Hershberger , "Jayesh Choudhary" , Vaishnav Achath , "Bryan Brattlof" , Vignesh Raghavendra , Tom Rini CC: , Subject: [PATCH v3 02/15] arm: mach-k3: am62x: am625_init: Remove explicit probing of CPSW driver Date: Tue, 25 Feb 2025 17:18:50 +0530 Message-ID: <20250225114903.2080616-3-c-vankar@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250225114903.2080616-1-c-vankar@ti.com> References: <20250225114903.2080616-1-c-vankar@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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 Bind method of am65_cpsw_nuss driver will ensure binding of it's child driver am65_cpsw_nuss_ports, and there is no need to call CPSW driver explicitly. Remove explicit probing of CPSW driver for AM62x. Signed-off-by: Chintan Vankar --- Link to v2: https://lore.kernel.org/r/20250219104831.2315464-4-c-vankar@ti.com/ Changes from v2 to v3: - Updated commit subject and commit message. arch/arm/mach-k3/am62x/am625_init.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm/mach-k3/am62x/am625_init.c b/arch/arm/mach-k3/am62x/am625_init.c index 595fc391ac5..72a752d38e8 100644 --- a/arch/arm/mach-k3/am62x/am625_init.c +++ b/arch/arm/mach-k3/am62x/am625_init.c @@ -282,15 +282,6 @@ void board_init_f(ulong dummy) } spl_enable_cache(); - if (IS_ENABLED(CONFIG_SPL_ETH) && IS_ENABLED(CONFIG_TI_AM65_CPSW_NUSS) && - spl_boot_device() == BOOT_DEVICE_ETHERNET) { - struct udevice *cpswdev; - - if (uclass_get_device_by_driver(UCLASS_MISC, DM_DRIVER_GET(am65_cpsw_nuss), - &cpswdev)) - printf("Failed to probe am65_cpsw_nuss driver\n"); - } - fixup_a53_cpu_freq_by_speed_grade(); } -- 2.34.1