From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web12.2253.1613075961210900992 for ; Thu, 11 Feb 2021 12:39:21 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=QD4lY0Ot; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [131.107.174.202]) by linux.microsoft.com (Postfix) with ESMTPSA id 6AED520B6C40; Thu, 11 Feb 2021 12:39:20 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 6AED520B6C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1613075960; bh=UtI9p8QjYfPsvhTWYxdFStSRKUa+PZmCeygNNiXK7mw=; h=From:To:Cc:Subject:Date:From; b=QD4lY0OtD8YdkPsz/s2re0ZBvyziYaJi4jmRZ4hi4E56WP+fwmt97Wd4ZKnPVRXpP DhYFc5nWIUXK4Ry6AVWJS6NW/oTjY5XPXGxTQZ7r9m6S7mNw5x6HW4z93EmhvxPNLo NzRhMMKZCfPhZrC7EHn3b8CcXLMn7z7QP5FQEpWw= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-platforms][PATCH v2 0/3] MinPlatformPkg: Add SpiFvbServiceStandaloneMm Date: Thu, 11 Feb 2021 12:38:52 -0800 Message-Id: <20210211203855.1656-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki Adds a new component called SpiFvbServiceStandaloneMm that serves as a Standalone MM compatible SPI FVB service driver. Note that a MM_STANDALONE version of SpiFlashCommonLib is being prepared to be sent but for the time being the module can be added to the MinPlatformPkg build and rely upon a NULL instance in the build. V2 changes: 1. Add Intel copyright to SpiFvbServiceMm.c Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Michael Kubacki Michael Kubacki (3): MinPlatformPkg/SpiFlashCommonLibNull: Make MODULE_TYPE BASE MinPlatformPkg/MinPlatformPkg.dsc: Add basic MM_STANDALONE libraries MinPlatformPkg/SpiFvbService: Add Standalone MM support Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{Common =3D> }/FvbInfo= .c | 0 Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{Common =3D> }/SpiFvbS= erviceCommon.c | 0 Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{Smm/SpiFvbServiceSmm.= c =3D> SpiFvbServiceMm.c} | 35 ++++++----------- Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceStandalon= eMm.c | 32 ++++++++++++++++ Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceTradition= alMm.c | 32 ++++++++++++++++ Platform/Intel/MinPlatformPkg/Flash/Library/SpiFlashCommonLibNull/SpiFla= shCommonLibNull.inf | 4 +- Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{Common =3D> }/SpiFvbS= erviceCommon.h | 4 -- Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceMm.h = | 22 +++++++++++ Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/SpiFvbServiceSmm.inf = | 17 +++++---- Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{SpiFvbServiceSmm.inf = =3D> SpiFvbServiceStandaloneMm.inf} | 40 ++++++++++---------- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc = | 9 +++++ 11 files changed, 139 insertions(+), 56 deletions(-) rename Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{Common =3D> }/= FvbInfo.c (100%) rename Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{Common =3D> }/= SpiFvbServiceCommon.c (100%) rename Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{Smm/SpiFvbServ= iceSmm.c =3D> SpiFvbServiceMm.c} (89%) create mode 100644 Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/Spi= FvbServiceStandaloneMm.c create mode 100644 Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/Spi= FvbServiceTraditionalMm.c rename Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{Common =3D> }/= SpiFvbServiceCommon.h (94%) create mode 100644 Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/Spi= FvbServiceMm.h copy Platform/Intel/MinPlatformPkg/Flash/SpiFvbService/{SpiFvbServiceSmm= .inf =3D> SpiFvbServiceStandaloneMm.inf} (64%) --=20 2.28.0.windows.1