From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=zd3eea/D; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.167.67, mailfrom: mw@semihalf.com) Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) by groups.io with SMTP; Thu, 02 May 2019 16:50:40 -0700 Received: by mail-lf1-f67.google.com with SMTP id o16so3156906lfl.7 for ; Thu, 02 May 2019 16:50:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DLCpytdY4YJIdfwZLDJbfx56kCUi47GhPeTof7O71Qk=; b=zd3eea/DxIeMEZMyTd776aHKcBFTBn4atRznRywP20ncNxCU0RvqS3vdnunZx0twTK 4YX9hCxE8XgRjkqxvLXaqQfXIRuYN7ejV/raa2gEBcZMfP1XB2I38B2tOLkKuGtNQ3hZ ubdbLjJ9r450CCGm30Y2d38eYCbuJ/EWn0mMhOmbA7b5TQjLNwk8Zgr8biCC3bmUHs8J fJK2m49DvTex381lbgfR2UvRQ5+gKstBi+8DYBlppfwhKpQRKMzE+szBFFAk5SdSvrIs tc+KVi0d/ytiHcaioIvhSbhqZxhBr/i+PiKyX0pNrvXFKbgs4vi2hI6ocZDHo96q/B0I GFBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DLCpytdY4YJIdfwZLDJbfx56kCUi47GhPeTof7O71Qk=; b=spNm+SpR7ItFhwMO1OrNKSTgNaBVwDrvzTCm8mgbgXsJCw0prShC9EjCv4rH3x03hv ZtsIitIiJa1f8Z5TKf1mdTczjOi7+xaXgs4AsTjPuRktAq3blu5Yg1WfXeKxs3n6b6uo K3cHNgsppOoW0VAgLrZ+7+yMNP8YLgtE+TnzAyf8SglZQ/7MIjf8F7nYhVQpY2b7PVDR cP8LYFe6tczd15BHZKKTfpu1Da0qJQ9mKPJwaGxDcp/XixVLT/yt1sRtP0Gtu+NzxyQ4 aMhNNqIkcpfuTOQFM7sYQ5C/jd+C+lweDqYU3q2Rw5N9yghjsdfDPbr3lzjEQBHw8X9S UDZQ== X-Gm-Message-State: APjAAAVwiht4ytVXhYihDkd2cRqw/jZwyYNy9a5xh6bAFQzLmbwglvrj nNUPU0zGWIMRMaQHucZ1wiG/L7fRi4E7TA== X-Google-Smtp-Source: APXvYqx9x/Ts0W2oh+kJlfDNYd9MpC7KVPk7WVjuh8HHPlq0zavUQxJfM/LmzPWPTg3Ezhhy7NTm3w== X-Received: by 2002:a19:761a:: with SMTP id c26mr3361347lff.8.1556841038239; Thu, 02 May 2019 16:50:38 -0700 (PDT) Return-Path: Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id o17sm74078lji.23.2019.05.02.16.50.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 16:50:37 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, mw@semihalf.com, jsd@semihalf.com, jaz@semihalf.com, kostap@marvell.com, Jici.Gao@arm.com Subject: [edk2-platforms: PATCH 4/4] Marvell/Drivers: MvPhyDxe: Reset PHY only once Date: Fri, 3 May 2019 01:50:16 +0200 Message-Id: <1556841016-10342-5-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556841016-10342-1-git-send-email-mw@semihalf.com> References: <1556841016-10342-1-git-send-email-mw@semihalf.com> At the end of PHY low level configuration a soft reset was performed twice. It is not necessary, so remove redundant reset call. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.c b/Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.c index 08a8ed0..c8ec6d3 100644 --- a/Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.c +++ b/Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.c @@ -180,8 +180,6 @@ MvPhyM88e1111sConfig ( /* Soft reset */ MvPhyReset (PhyDev); - MvPhyReset (PhyDev); - return EFI_SUCCESS; } -- 2.7.4