From mboxrd@z Thu Jan 1 00:00:00 1970 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 069F6C433F5 for ; Sat, 26 Feb 2022 16:13:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 97A9F836D2; Sat, 26 Feb 2022 17:13:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="EybLRgLG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D7CE383B7C; Sat, 26 Feb 2022 17:13:21 +0100 (CET) Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C10BD82A53 for ; Sat, 26 Feb 2022 17:13:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-il1-x135.google.com with SMTP id x14so1622082ill.12 for ; Sat, 26 Feb 2022 08:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ltJEHaYbdpZHzG928W0B2EUO2Uw1B5iRZ95JnWS5bi4=; b=EybLRgLGMX6WBFZoOHJ1PlZZ0HKm0WWORZcvSrGemxnndAXW167NjrvdkRnrnpdzKJ SgwR4lxjBCkEcFLoaCpR6d7SuHCbHIrnb9jM9ARkfmymsF7zNXRQla7xBOwFgVjkYrBi 5V52U2DjeTAwd6cCqwrVZPI1SOZ2+zUPJhOMz3BuFQas6v7+gdHMfDVLweijgRUpMmJ3 1UgobWQ7dk+/c0OKCAqUanMh7D1KDPuwBp+16kBQgX3xrwQKVV8VS+fuwU4gycScX2eV xx/uFmkSFGxmXTs146JjZ/nTkXKzaDaAGR/k6NIpf8ex+hbiS6GezXqwd1/0ygDPQq1x KanA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ltJEHaYbdpZHzG928W0B2EUO2Uw1B5iRZ95JnWS5bi4=; b=mMrwzbZDhY/zM7yiMLkvHHQEKPlfbrrZXZWQLQCrnr9/yViIH58EZDihHNfxFoPAE/ /r9cLRdZRTxpMoCe9A5MUr/Xzjuu9Swy4HEcWfvU2+2hk94K1wKHpHyAbR0CHuu4WsdV 9wbj/1C4ZeYPii4DL66s2HKUHBpN0hBAaEUl3y6WJjwoYLhCeXQZ0KLbOJSqatEFP2yN Xj/3+wMEN4p7AUooKZc6WvPfXa/XuUxJ9B8sgZLwo9iEq2Vv7U4V/Dztxr73GWrIu2Qy EwkSc9KVhRxtLslit6ULMYn1BOGUZj99mdS3SZOXdWk0uM+PNME0ko8d6SGkLMyKfqxt cMDA== X-Gm-Message-State: AOAM533wGGrS/HV93uizX9AuwPZN4/BW7EW8vPhLeOSQj2zxGG25bA6C cdFnG8Sker1aI2yRtN0sbMu32+7f0881EQ== X-Google-Smtp-Source: ABdhPJw1DKLlU6iULokVkts6WQ+odL3klJoL7c0jsmkQHJTKf5RX1Xqnlel+zeKSDwGAsF+ukws3Gw== X-Received: by 2002:a05:6e02:1bc5:b0:2c2:7bc9:8e8f with SMTP id x5-20020a056e021bc500b002c27bc98e8fmr11107917ilv.5.1645891996641; Sat, 26 Feb 2022 08:13:16 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:beb5:da6a:8b8:5516]) by smtp.gmail.com with ESMTPSA id o19-20020a056e02103300b002b94a41cf66sm3444805ilj.10.2022.02.26.08.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 08:13:16 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: woods.technical@gmail.com, Adam Ford Subject: [PATCH] ARM: am3517-evm: Remove more non-DM legacy ethernet reset code Date: Sat, 26 Feb 2022 10:13:09 -0600 Message-Id: <20220226161309.683908-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 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.5 at phobos.denx.de X-Virus-Status: Clean The ethernet controller is DM compliant, and the device tree defines it. There is no need to manually handle pulling the ethernet out of reset. Signed-off-by: Adam Ford diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c index f014165928..e787441c74 100644 --- a/board/logicpd/am3517evm/am3517evm.c +++ b/board/logicpd/am3517evm/am3517evm.c @@ -117,17 +117,10 @@ static void am3517_evm_musb_init(void) */ int misc_init_r(void) { - u32 reset; - omap_die_id_display(); am3517_evm_musb_init(); - /* ensure that the Ethernet module is out of reset */ - reset = readl(AM3517_IP_SW_RESET); - reset &= (~CPGMACSS_SW_RST); - writel(reset, AM3517_IP_SW_RESET); - return 0; } @@ -142,7 +135,6 @@ void set_muxconf_regs(void) MUX_AM3517EVM(); } - #if defined(CONFIG_USB_ETHER) && defined(CONFIG_USB_MUSB_GADGET) int board_eth_init(struct bd_info *bis) { -- 2.34.1