From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web08.10712.1633521564200750881 for ; Wed, 06 Oct 2021 04:59:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=hRxYdLxV; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0913d10296=daniel.schaefer@hpe.com) Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 196AW3kf015815; Wed, 6 Oct 2021 11:59:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=pps0720; bh=uiTEYsz8v32+RZIT5p2st1Wbkr8nnV+fC9Nd2wBxSvw=; b=hRxYdLxVKiIgqivkqgbiJZEVM7dQnsfheycMhifyGIYQQoVJOMzPjA1wbWMCWyuGuAkk fu0TDobdFzHNAguqPXn/KG6bgw9uzB7FcDb4YndqSi2quhDYSJcqM3XA8ZLfZ9+xUUsY N0EG4KvA7vsw7HDeIxOMOQq0ehbBUgudw50JmuYEuMiHIYVJjVaEDQ/r1ZEBoijEWPw+ pJMn/svY0URp/jyRQmE2+pGZcuxprrAfGt0wFZqQJWp7eetwnPDzXGpzQxtIdMvLVw5p iSh+DgO+EfoU+7hiZHuPdq6DoAxSIb1SkEKIXmS+FtRal3Wgsk45PUAQGCOTvT7qp3+w Tg== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 3bh78raf25-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Oct 2021 11:59:23 +0000 Received: from G9W8454.americas.hpqcorp.net (g9w8454.houston.hp.com [16.216.161.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id 9614C65; Wed, 6 Oct 2021 11:59:22 +0000 (UTC) Received: from G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Wed, 6 Oct 2021 11:59:22 +0000 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (15.241.52.13) by G4W9119.americas.hpqcorp.net (16.210.20.214) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Wed, 6 Oct 2021 11:59:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O3AQUAGTYTDthg/rXbkELIdaBMlJCyCQf8js4auM+ETLyIhRNqERllWVicEblePLYgS8dN2FyrKzYGgxw2ivyUMiluj2klpWiMDXFNW+vHp+RdCiXDNtx/U7dKS5XBx8GfL6Yg8qiXt55kckLwxfTKEbIvH0R54iUSrYxnJNuITHKoSwvN/8im/lRA3JQS0D0LkXB40FX0NoqjK6EqiKJEaaY/6tVHW61gOmtLjojEO3u3gwMJVVs7BJDNn7REB4pN3gfSw61H6wWwLSwkVZ2zFtHG1VJBCdWaiZxn/U8R5uwSktLBkeSAUn6smbZpBDwE5AGD7KMqH5uPOjxV4IkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uiTEYsz8v32+RZIT5p2st1Wbkr8nnV+fC9Nd2wBxSvw=; b=EWndzX5y+WzGBXMNH22tgbEuqwBvWLG2T4STS4WdkwKEoQ/NOqNUvQepE/Du/cbIHFeNT5t50ahxsqhBMRsAMzDMRtUID1K0Qy5E5qIIUhKKJytzINJjSWzt0qPg2rT9r+B5mZ58ELy2bQgLDmuJ+KaqwcshnvgiBcjGtvdlboFB4iSZXXusG5Gyg0Mwq4uMSiEsOUhrjUUprzcbWyCTWw9AyzPFXbvvQrXSIR0HU+v3m2z8fIa55EdRKPJU1GhQzyIuEUvpZ2rlIUr04+pzf4LH97dhd1Oi4cNE5cBBYttzqYhUVuKu8b6PBEv+wsSNZpzG9XUuvmSnzl7aZrylJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; Received: from DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) by DF4PR8401MB1034.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7613::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Wed, 6 Oct 2021 11:59:21 +0000 Received: from DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM ([fe80::597f:4786:f1d6:8469]) by DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM ([fe80::597f:4786:f1d6:8469%3]) with mapi id 15.20.4566.023; Wed, 6 Oct 2021 11:59:21 +0000 From: "Daniel Schaefer" To: CC: , Abner Chang , Sunil V L Subject: [edk2-platforms][PATCH v2 09/14] RISC-V/PlatformPkg: Add FdtPeim to pass DTB from PEI to DXE via HOB Date: Wed, 6 Oct 2021 19:58:31 +0800 Message-ID: <20211006115836.3641776-2-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211006115836.3641776-1-daniel.schaefer@hpe.com> References: <20211006115836.3641776-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: HK2PR02CA0159.apcprd02.prod.outlook.com (2603:1096:201:1f::19) To DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) MIME-Version: 1.0 Received: from localhost.localdomain (123.193.59.220) by HK2PR02CA0159.apcprd02.prod.outlook.com (2603:1096:201:1f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.15 via Frontend Transport; Wed, 6 Oct 2021 11:59:19 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 97fba745-91fd-4fe6-d258-08d988c0bb7d X-MS-TrafficTypeDiagnostic: DF4PR8401MB1034: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:983; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Xkkpme1+CnMjWj5fKfo5spIY7n4qHgXieMxKBtsi5y+36y+Sbj6LY5rmTm4VfLoUeiNPpLkzR6KqKK2Os/iddEwuaN3ZVPWzNLpkCT4+KMQCo7JxLPlLuWw1FvGWMFkrygYU8cAtrQWnXbb7/NFjCTvTkwa2ZYVpqDkr4EYJhdvYcc5EXH+ZUQCtU+2etPZIS/0eJPodQHuEhOiiqSDl9Bw2L3Iy6Y6vBYuAWzWxYAXVJ/sYEDPelwKDKjVZnFI2CE8+0zF3n90Iot21jH2SlfvJUp9ZekfLYAUIPZ6Sj9b+jr41uELtFx1p87lkeAB1w1arg8J6E8vYoVWfJcB49IXhdE2fk9I/MxKseWWdhESGKGekKu9qeg3ghmNYLK+V9WaeTFsLhUBC8pNI4SAvWHyimCcfPd/8tJX62pCVETOoDCW/rT2Noq+Cw2VkFKHqwYcc6dUHJCIL8S1rPKRX2JmHpepwUdGwbWZ+fIczOHv2o4OvDhHX4gIQ07nmsaZ7wUlfcXyPRgSSnAAQEOu4Oh+F07uhnJGJ4IWdeTtila+PPS+x+kCVZeueNBNQE4DkssyCdgyqH2g8PxxTcMku3ZME3B0PK5f7O5eHqlI8qb16/+pGYmyB6LyeM+t7DusY81KEJbxU+dIH88PidIXa5miKiyX7+mFwEsg6KAOv39Yxk92n72a8Gk3lTG8ynvR+VBz06ZXHkILleQdIecdHiA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(186003)(6506007)(956004)(316002)(26005)(52116002)(6916009)(8676002)(8936002)(5660300002)(6486002)(508600001)(83380400001)(6666004)(66556008)(66476007)(38350700002)(6512007)(38100700002)(86362001)(36756003)(4326008)(2906002)(54906003)(2616005)(1076003)(66946007)(44832011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?IOuAFnYotQ4OJ22rhKdkQexk5DgZOUsA3effbCVdnW+D8deQAyQFhRnNXLMZ?= =?us-ascii?Q?ymJOiGuRVeEHf9f4mhKDEGbX7wnQGvkftaJV00zbYm1VO3MYaX9+9S9B6BZL?= =?us-ascii?Q?esrOQ7ji9SyuFS63DdsAzthxNWlh21F6TknZS0r5WzKNnRfsZc0h/qF27QzO?= =?us-ascii?Q?R9/oRUttXNORirJQdG5OsGqeO6K6hxEszc1W6nBtSqSREKhDcmHlD5JVHKk9?= =?us-ascii?Q?kvQVvkyUELqiHbx5Rfg+di8OcYj0f6NlYa6k1+t/uCRM/yvMtaS6XJpylEH5?= =?us-ascii?Q?3gKTTVeVdpiiNW5wOSyHFemvAIiAskZ45aShq+q1WAzf11R9YEi59N3+1hXm?= =?us-ascii?Q?7r+DUnDyxXdPtIVuDxlO5x+VBe+FkbF/FWP2/hH6tk3NXQgeMhclWakNhsX2?= =?us-ascii?Q?JPX5n74ermsAlaRUQfw/Gc00qIXAopBDbjIrlanBZQx61I5H18j/C62TxLIg?= =?us-ascii?Q?ZeOkCjtHMNknzerM9wRzRoKGjeKSSD3RYYJoeTIoYpCnbdVJobhugN+fafP4?= =?us-ascii?Q?0QYTaJABMMFrWFyeSxaAFR2L+41/LYNdDoi3OPUcjXE7D7xoLBF/AtS2GY8d?= =?us-ascii?Q?xUSNSghL+muAby8LoYqgyrtvbRuxEWf7Sz6aa+wOO/VKcmuJV1B2UKo0UnGw?= =?us-ascii?Q?BJ9lvoI8Xkg1E8qTDGm+9BgCEAov3ZZbnpZeoMh5PaoTbTYakb5nUlDlsB77?= =?us-ascii?Q?qsXAasbI2Ms1d1BlipJ7hAV0ta7hMQyxdcK1eYhs8K7rl8nxDD8DvWslBMwB?= =?us-ascii?Q?+u4dsIiXvAQTuG2tYfsmls/cfyjBVfg9Pb5rQhDix8W8arbbwIQFOqGwIzd/?= =?us-ascii?Q?xppyYYQd5P749jT0QV3W5uXo6XPzF8k9wvR6GcNMigQoZcowRgWdVRO1GLGM?= =?us-ascii?Q?qTYbhtL/XdSHWUBXm24E2FN3gkgQ7zGFzI4mAQAetLYeDAdfeuH7FJTjOUel?= =?us-ascii?Q?iTyJMKVGtw8p0D1JFlrF8OtpMtzywMlnrFj8j8FsIMipfb9aGug+gsVFR1yk?= =?us-ascii?Q?mo/ptk6bSizz7PXvwiHkoOl/QIMmjAja4PCbq6p8nILCBJ588OdfW/LDPYlR?= =?us-ascii?Q?yB9HAifILJXFd4DsG9va1p+JW6l6CpTsdHUwPKkciY1ul2i8Bi9s5Xl3lQNQ?= =?us-ascii?Q?AKLJFgJhTRKt+8+659xT4xPSlOom43dqh4nORcGWA/ALRu3kUigBAP0Gn2kf?= =?us-ascii?Q?InLBsjRQd4bkX5mIXMSHif6TX7LTxq3HFrXCdpRLbCxw8mLst2vxNUe63qz9?= =?us-ascii?Q?w3x9QHappBW1EVM61+m/4NJdyaalt5pvFmZSOQgyp2wfX96QmfNUVvd+RXa1?= =?us-ascii?Q?K9F3fLDNuzsxjREXGUETK8DB?= X-MS-Exchange-CrossTenant-Network-Message-Id: 97fba745-91fd-4fe6-d258-08d988c0bb7d X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2021 11:59:21.2438 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FZ3YEx3AN6YkDUmQCOrMlq64Os2Y9Mbs5Mvm92MbjnS7LUHJTwBc3fnjotFdTaSJf/5cm3/RtO55aYbPjk6CFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB1034 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: EYEYTER5xSOk6x4UznNxOXE7tHISnPiC X-Proofpoint-ORIG-GUID: EYEYTER5xSOk6x4UznNxOXE7tHISnPiC X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-06_02,2021-10-06_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 phishscore=0 priorityscore=1501 clxscore=1015 spamscore=0 mlxlogscore=999 impostorscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110060075 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang Cc: Daniel Schaefer Cc: Abner Chang Cc: Sunil V L Signed-off-by: Daniel Schaefer --- Platform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.c | 70 = ++++++++++++++++++++ Platform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.inf | 49 = ++++++++++++++ Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 5 = ++ Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf | 1 + Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi | 2 = +- 5 files changed, 126 insertions(+), 1 deletion(-) diff --git a/Platform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.c b/Plat= form/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.c new file mode 100644 index 0000000000..7052957003 --- /dev/null +++ b/Platform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.c @@ -0,0 +1,70 @@ +/** @file +The module to pass the device tree to DXE via HOB. + +Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights = reserved.
+ +SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include +#include +#include +#include + +#include + +#include + +/** + The entrypoint of the module, it will pass the FDT via a HOB. + + @param FileHandle Handle of the file being invoked. + @param PeiServices Describes the list of possible PEI Servic= es. + + @retval TODO +**/ +EFI_STATUS +EFIAPI +PeimPassFdt ( + IN EFI_PEI_FILE_HANDLE FileHandle, + IN CONST EFI_PEI_SERVICES **PeiServices + ) +{ + VOID *FdtPointer; + VOID *Base; + VOID *NewBase; + UINTN FdtSize; + UINTN FdtPages; + UINT64 *FdtHobData; + EFI_RISCV_OPENSBI_FIRMWARE_CONTEXT *FirmwareContext; + + FirmwareContext =3D NULL; + GetFirmwareContextPointer (&FirmwareContext); + + if (FirmwareContext =3D=3D NULL) { + DEBUG((DEBUG_ERROR, "%a: OpenSBI Firmware Context is NULL\n", __FUNCTI= ON__)); + return EFI_UNSUPPORTED; + } + FdtPointer =3D (VOID *)FirmwareContext->FlattenedDeviceTree; + if (FdtPointer =3D=3D NULL) { + DEBUG((DEBUG_ERROR, "%a: Invalid FDT pointer\n", __FUNCTION__)); + return EFI_UNSUPPORTED; + } + DEBUG((DEBUG_ERROR, "%a: Build FDT HOB - FDT at address: 0x%x \n", __FUN= CTION__, FdtPointer)); + Base =3D FdtPointer; + ASSERT (Base !=3D NULL); + ASSERT (fdt_check_header (Base) =3D=3D 0); + + FdtSize =3D fdt_totalsize (Base); + FdtPages =3D EFI_SIZE_TO_PAGES (FdtSize); + NewBase =3D AllocatePages (FdtPages); + ASSERT (NewBase !=3D NULL); + fdt_open_into (Base, NewBase, EFI_PAGES_TO_SIZE (FdtPages)); + + FdtHobData =3D BuildGuidHob (&gFdtHobGuid, sizeof *FdtHobData); + ASSERT (FdtHobData !=3D NULL); + *FdtHobData =3D (UINTN)NewBase; + + return EFI_SUCCESS; +} diff --git a/Platform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.inf b/Pl= atform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.inf new file mode 100644 index 0000000000..2dbeca70c5 --- /dev/null +++ b/Platform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.inf @@ -0,0 +1,49 @@ +## @file +# The FDT Peim driver is used to pass the device tree to DXE phase. +# +# Copyright (c) 2021, Hewlett Packard Enterprise Developmente LP. All righ= ts reserved.
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + INF_VERSION =3D 0x00010005 + BASE_NAME =3D FdtPei + MODULE_UNI_FILE =3D FdtPei.uni + FILE_GUID =3D 724FD5E9-F35E-4386-B1E1-2ADA6103C4F9 + MODULE_TYPE =3D PEIM + VERSION_STRING =3D 1.0 + + ENTRY_POINT =3D PeimPassFdt + +# +# The following information is for reference only and not required by the = build tools. +# +# VALID_ARCHITECTURES =3D RISCV64 +# + +[Sources] + FdtPeim.c + +[Packages] + EmbeddedPkg/EmbeddedPkg.dec + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dec + +[LibraryClasses] + DebugLib + DebugLib + HobLib + FdtLib + PcdLib + PeiServicesLib + PeimEntryPoint + RiscVFirmwareContextLib + +[Guids] + gFdtHobGuid ## PRODUCES + +[Depex] + TRUE diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U5= 40.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d= sc index e971993b7b..4fab3c4bdc 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc @@ -150,6 +150,10 @@ RiscVPlatformTimerLib|Platform/SiFive/U5SeriesPkg/Library/RiscVPlatformT= imerLib/RiscVPlatformTimerLib.inf=0D CpuExceptionHandlerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVExceptio= nLib/CpuExceptionHandlerDxeLib.inf=0D =0D +=0D + # Flattened Device Tree (FDT) access library=0D + FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf=0D +=0D [LibraryClasses.common.SEC]=0D !ifdef $(DEBUG_ON_SERIAL_PORT)=0D DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in= f=0D @@ -400,6 +404,7 @@ =0D PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf=0D }=0D + Platform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.inf=0D =0D #=0D # DXE Phase modules=0D diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U5= 40.fdf b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.f= df index 820e19d113..f0bd65fad6 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf +++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf @@ -101,6 +101,7 @@ INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf =0D # RISC-V Platform PEI Driver=0D INF Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/PlatformPei.inf= =0D +INF Platform/RISC-V/PlatformPkg/Universal/FdtPeim/FdtPeim.inf=0D =0D ##########################################################################= ######=0D =0D diff --git a/Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi b/= Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi index 937caee083..a731c7e369 160000 --- a/Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi +++ b/Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi @@ -1 +1 @@ -Subproject commit 937caee0833115f69d697ca190001ba0aa5c7368 +Subproject commit a731c7e36988c3308e1978ecde491f2f6182d490 --=20 2.33.0