From nobody Mon Feb 9 09:29:42 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+39545+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39545+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1556191779; cv=none; d=zoho.com; s=zohoarc; b=VPsHRRKHUr+W2keQBSEkVZ72v+uYqczeHmkoEXTCxj+6CeAkhq45tISTQ27TjyF5JHbDXzmxx9+EWikKP4Her/SvurkRgS2inF+ID2YLmnaTILNp6+NIYvNcL6/Z/e1gusVmEZyWo3qhkPLNmBcbYhpxt3Oh0t/lU37rMBxdYW4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556191779; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=1G94V5pATYwbd+03UJeoDbzA+fNiNCGge3CatQzmCwM=; b=RGH/YdMPwgN1NjJrj3s6egh6Mz0uDNGPyeB8uStpK/SsDzi58T3fHf8la08c06shW3CLC/hDWJqwtcX/XZMru7TTxUNQJN8a/5Zm39VHzYJU+nmkIzDsf3TJVPbEGUIkwBK4Pa4e1z1KqG99/jsVLYFmY1dHDGg4eUhd+q1wq+k= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39545+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1556191779892111.61233262594544; Thu, 25 Apr 2019 04:29:39 -0700 (PDT) Return-Path: X-Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by groups.io with SMTP; Thu, 25 Apr 2019 04:29:38 -0700 X-Received: by mail-lj1-f196.google.com with SMTP id y16so9117023ljg.1 for ; Thu, 25 Apr 2019 04:29:37 -0700 (PDT) X-Gm-Message-State: APjAAAXQmdn2BBIHYIUNsHyX+62893Lmw00PlGxIqQ9vKThjzTXYC3a8 E5zb0QnZJdCRs5Uq3iBbd6NbXipmOBg= X-Google-Smtp-Source: APXvYqxoUp9TAnaQb0LyAMRhbBKZQtU6AciLI/PzTT85Ufh8HFNkww6WaxwAUaDGI7m1hDmBklfCVw== X-Received: by 2002:a2e:974d:: with SMTP id f13mr20731619ljj.140.1556191775506; Thu, 25 Apr 2019 04:29:35 -0700 (PDT) X-Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id c7sm5448111lja.90.2019.04.25.04.29.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Apr 2019 04:29:34 -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-devel] [edk2-platforms: PATCH v3 3/4] Marvell/Drivers/Spi: Improve modules dependencies Date: Thu, 25 Apr 2019 13:28:23 +0200 Message-Id: <1556191704-28834-4-git-send-email-mw@semihalf.com> In-Reply-To: <1556191704-28834-1-git-send-email-mw@semihalf.com> References: <1556191704-28834-1-git-send-email-mw@semihalf.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1556191778; bh=9B5qqqPkYI/cMB7AFiTeG1nztsq9EiEH3UHQ0Jmj14Y=; h=Cc:Date:From:Reply-To:Subject:To; b=gxS3on2/m2HKw7YGglKUsVChmlCtHAqitIYfwDJFgKnbixh1u17suMFKJV0wPHkBm7j wOXwpE2xnLw3PU+FfnT1r/Gk1a1jXz7+gV+G6vbdnEWW5GdPxbaiMQZ45vJZu59fWm1dB YOjgqlgYl132rfekcwjct9EG9NzjuUYEYmQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Currently the Marvell SPI DXE drivers depexes are specified with explicit modules' GUIDs and BEFORE/AFTER expressions. Replace it with the actual protocol dependencies. Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Marvell.dec | 3 --- Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.inf | 4 +++- Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.inf | 5 +---- Silicon/Marvell/Drivers/Spi/MvSpiOrionDxe/MvSpiOrionDxe.inf | 5 +---- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/Silicon/Marvell/Marvell.dec b/Silicon/Marvell/Marvell.dec index 7210ba2..641c53b 100644 --- a/Silicon/Marvell/Marvell.dec +++ b/Silicon/Marvell/Marvell.dec @@ -56,9 +56,6 @@ gShellFUpdateHiiGuid =3D { 0x9b5d2176, 0x590a, 0x49db, { 0x89, 0x5d, 0x4= a, 0x70, 0xfe, 0xad, 0xbe, 0x24 } } gShellSfHiiGuid =3D { 0x03a67756, 0x8cde, 0x4638, { 0x82, 0x34, 0x4a, 0x= 0f, 0x6d, 0x58, 0x81, 0x39 } } =20 - gMarvellFvbDxeGuid =3D { 0x42903750, 0x7e61, 0x4aaf, { 0x83, 0x29, 0xbf,= 0x42, 0x36, 0x4e, 0x24, 0x85 } } - gMarvellSpiFlashDxeGuid =3D { 0x49d7fb74, 0x306d, 0x42bd, { 0x94, 0xc8, = 0xc0, 0xc5, 0x4b, 0x18, 0x1d, 0xd7 } } - [LibraryClasses] ArmadaBoardDescLib|Include/Library/ArmadaBoardDescLib.h ArmadaIcuLib|Include/Library/ArmadaIcuLib.h diff --git a/Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.inf b/Silicon/Ma= rvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.inf index ef10bfd..e222075 100644 --- a/Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.inf +++ b/Silicon/Marvell/Drivers/Spi/MvFvbDxe/MvFvbDxe.inf @@ -85,4 +85,6 @@ gMarvellTokenSpaceGuid.PcdSpiMemoryBase =20 [Depex] - gEfiCpuArchProtocolGuid + gEfiCpuArchProtocolGuid AND + gMarvellSpiMasterProtocolGuid AND + gMarvellSpiFlashProtocolGuid diff --git a/Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.inf b/= Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.inf index 20939bf..ce843e9 100644 --- a/Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.inf +++ b/Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.inf @@ -64,7 +64,4 @@ gMarvellSpiMasterProtocolGuid =20 [Depex] - # - # MvSpiFlashDxe must be loaded prior to variables driver MvFvbDxe - # - BEFORE gMarvellFvbDxeGuid + gMarvellSpiMasterProtocolGuid diff --git a/Silicon/Marvell/Drivers/Spi/MvSpiOrionDxe/MvSpiOrionDxe.inf b/= Silicon/Marvell/Drivers/Spi/MvSpiOrionDxe/MvSpiOrionDxe.inf index 4779371..628ab39 100644 --- a/Silicon/Marvell/Drivers/Spi/MvSpiOrionDxe/MvSpiOrionDxe.inf +++ b/Silicon/Marvell/Drivers/Spi/MvSpiOrionDxe/MvSpiOrionDxe.inf @@ -67,7 +67,4 @@ gMarvellSpiMasterProtocolGuid =20 [Depex] - # - # MvSpiDxe must be loaded prior to MvSpiFlash driver - # - BEFORE gMarvellSpiFlashDxeGuid + TRUE --=20 2.7.4 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39545): https://edk2.groups.io/g/devel/message/39545 Mute This Topic: https://groups.io/mt/31341164/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-