From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bounce+27952+119693+7686176+12367111@groups.io>
Received: from mail05.groups.io (mail05.groups.io [45.79.224.7])
	by spool.mail.gandi.net (Postfix) with ESMTPS id EEA6D941A00
	for <rebecca@openfw.io>; Mon, 24 Jun 2024 13:32:57 +0000 (UTC)
DKIM-Signature: a=rsa-sha256; bh=ES/eNcIhIeNMDB48ovlO9x36OCjre8g+h7zB7sROvHs=;
 c=relaxed/simple; d=groups.io;
 h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type;
 s=20240206; t=1719235977; v=1;
 b=bX/Q61JI6Vn6V5FOnJixkPOtuEBgVQcTDasK8kpVSVnOAwdLtGdCtaHO8/3xaXKU5EHSbUwD
 scOQdSS7VCHsZjfAcZCwva7geDmvQNtCOwAS7pSg3aycL5lHz2VXmN2+I7VExbunisr1v9qLb7R
 wuwYJxKbLEJKH8s33PKdV4Hz4E+zMLleoq2xPvVCU5/StvfBKo4ue3gzBkDCdm4VjtlvKtXDHs4
 7rWxVDkf4k7aQo9jOUFCxE/lOL1c4O2bNRYt8hRnv0MkT/KTxZSyNrRRUJUofSSzrmoN8BVitOR
 S0ZNCfux20LQNTUbXNYFoRYKMdRHkmHuayL2uqGotAmRg==
X-Received: by 127.0.0.2 with SMTP id W8jQYY7687511xCW5E1hB5fA; Mon, 24 Jun 2024 06:32:56 -0700
X-Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131])
 by mx.groups.io with SMTP id smtpd.web11.140651.1719235976022675192
 for <devel@edk2.groups.io>;
 Mon, 24 Jun 2024 06:32:56 -0700
X-Received: from pps.filterd (m0279870.ppops.net [127.0.0.1])
	by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45O8Z4fT031942;
	Mon, 24 Jun 2024 13:32:52 GMT
X-Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254])
	by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ywppv3p1r-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
	Mon, 24 Jun 2024 13:32:52 +0000 (GMT)
X-Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139])
	by NASANPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45ODWpNj014657
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
	Mon, 24 Jun 2024 13:32:51 GMT
X-Received: from qc-i7.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com
 (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 24 Jun
 2024 06:32:49 -0700
From: "Leif Lindholm" <quic_llindhol@quicinc.com>
To: <devel@edk2.groups.io>
CC: Daniel Schaefer <git@danielschaefer.me>,
        Sunil V L
	<sunilvl@ventanamicro.com>,
        Abner Chang <abner.chang@amd.com>
Subject: [edk2-devel] [PATCH edk2-platforms 3/4] Platform/SiFive: add RiscVMmuLib mapping for U540
Date: Mon, 24 Jun 2024 14:32:36 +0100
Message-ID: <20240624133237.485822-4-quic_llindhol@quicinc.com>
In-Reply-To: <20240624133237.485822-1-quic_llindhol@quicinc.com>
References: <20240624133237.485822-1-quic_llindhol@quicinc.com>
MIME-Version: 1.0
X-Originating-IP: [10.80.80.8]
X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To
 nasanex01c.na.qualcomm.com (10.45.79.139)
X-QCInternal: smtphost
X-Proofpoint-GUID: lYaH0CMrRoKLmFAsuv5OcZ9k8auz9n1L
X-Proofpoint-ORIG-GUID: lYaH0CMrRoKLmFAsuv5OcZ9k8auz9n1L
Precedence: Bulk
List-Subscribe: <mailto:devel+subscribe@edk2.groups.io>
List-Help: <mailto:devel+help@edk2.groups.io>
Sender: devel@edk2.groups.io
List-Id: <devel.edk2.groups.io>
Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io
Resent-Date: Mon, 24 Jun 2024 06:32:56 -0700
Resent-From: quic_llindhol@quicinc.com
Reply-To: devel@edk2.groups.io,quic_llindhol@quicinc.com
List-Unsubscribe-Post: List-Unsubscribe=One-Click
List-Unsubscribe: <https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/plugh>
X-Gm-Message-State: 7f34oPKL8lvfnFUkEqplhoz2x7686176AA=
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-GND-Status: LEGIT
Authentication-Results: spool.mail.gandi.net;
	dkim=pass header.d=groups.io header.s=20240206 header.b="bX/Q61JI";
	dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=quicinc.com (policy=none);
	spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io

The freedom unleashed platform currently fails to build due to a
missing mapping for RiscVMmuLib, so add one.

Cc: Daniel Schaefer <git@danielschaefer.me>
Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Abner Chang <abner.chang@amd.com>
Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com>
---
 Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
index a297702952a0..40bb790a485f 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
@@ -150,6 +150,7 @@ [LibraryClasses.common]
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
 !endif
   RiscVCpuLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
+  RiscVMmuLib|UefiCpuPkg/Library/BaseRiscVMmuLib/BaseRiscVMmuLib.inf
   RiscVSbiLib|MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
   RiscVPlatformTimerLib|Platform/SiFive/U5SeriesPkg/Library/RiscVPlatformTimerLib/RiscVPlatformTimerLib.inf
   #MachineModeTimerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVReadMachineModeTimer/MachineModeTimerLib/MachineModeTimerLib.inf
-- 
2.39.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119693): https://edk2.groups.io/g/devel/message/119693
Mute This Topic: https://groups.io/mt/106849455/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-