From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id E0CCD7803CD for ; Thu, 23 May 2024 10:56:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=10Wn06jpBxtMyNl84hg58MO+Jc92JkoSDqi8dJcoMfA=; 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; s=20240206; t=1716461787; v=1; b=ngiw1NKp+CdVdBr70nfRw3b//ZlCsDL0qhfh7yrNCoCZybaP0kQdE3OuEETgmzWTElEusJrS MB5Q9LV29W8JkscL2uSyj5tlYoFwI+rEZ06lZ5ijQStUYGy2sY7S2iTHyqHTwoC4gflkSTXsYQ2 MlQRyN69X/dnQ+2qY6ZUg5bXX6pWu76G08uFQ0Ulb1HB6Ig1Uj5do5AZcLOsG4Df2V07J+UgsjV 45kyRJAW7CLQuvpvT28HJPmptzCpOaOL225RkoaJ3lfGMwyAlphWuwgMa7654vCMikj8zKlmnzO ZUT9yZt0ObeyA0w6UkUgnQBffOnrsxWhHU9Lp+RqRZQNA== X-Received: by 127.0.0.2 with SMTP id Ju9cYY7687511x6k1JF1j9Xj; Thu, 23 May 2024 03:56:27 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.12649.1716461785449233278 for ; Thu, 23 May 2024 03:56:25 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 316D0DA7; Thu, 23 May 2024 03:56:49 -0700 (PDT) X-Received: from usa.arm.com (a077434.arm.com [10.162.46.143]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6EB153F766; Thu, 23 May 2024 03:56:23 -0700 (PDT) From: "Sahil Kaushal" To: devel@edk2.groups.io Cc: Ard Biesheuvel , =?UTF-8?q?Leif=20Lindholm=20=C2=A0?= , Sami Mujawar , =?UTF-8?q?sahil=20=C2=A0?= Subject: [edk2-devel] [edk2-platforms][PATCH V3 16/17] Platform/ARM/N1Sdp: Persistent storage for N1Sdp Date: Thu, 23 May 2024 16:25:10 +0530 Message-Id: <20240523105511.13189-17-Sahil.Kaushal@arm.com> In-Reply-To: <20240523105511.13189-1-Sahil.Kaushal@arm.com> References: <20240523105511.13189-1-Sahil.Kaushal@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 23 May 2024 03:56:25 -0700 Resent-From: sahil.kaushal@arm.com Reply-To: devel@edk2.groups.io,sahil.kaushal@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: RNCjpT8oZdrubqXaEpPxgmjBx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=ngiw1NKp; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.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 From: sahil Enable persistent storage on QSPI flash device. Signed-off-by: sahil --- Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 19 ++++++++++++++----- Platform/ARM/N1Sdp/N1SdpPlatform.fdf | 2 ++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc b/Platform/ARM/N1Sdp/N1Sd= pPlatform.dsc index 46412bff7d78..fd630fa08c35 100644 --- a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc +++ b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc @@ -161,11 +161,9 @@ # ACPI Table Version=0D gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20=0D =0D - # Runtime Variable storage=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800=0D + # NOR flash support=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x18F00000= =0D + gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00020000= =0D =0D ##########################################################################= ######=0D #=0D @@ -197,6 +195,16 @@ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F=0D }=0D =0D + # NOR flash support=0D + Platform/ARM/Drivers/NorFlashDxe/NorFlashDxe.inf {=0D + =0D + NorFlashDeviceLib|Platform/ARM/Library/CadenceQspiNorFlashDeviceLib/= CadenceQspiNorFlashDeviceLib.inf=0D + NorFlashPlatformLib|Silicon/ARM/NeoverseN1Soc/Library/NorFlashLib/No= rFlashLib.inf=0D + NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.= inf=0D + =0D + gPlatformArmTokenSpaceGuid.PcdNorFlashRegBaseAddress|0x1C0C0000=0D + }=0D +=0D # Architectural Protocols=0D ArmPkg/Drivers/CpuDxe/CpuDxe.inf=0D ArmPkg/Drivers/ArmGic/ArmGicDxe.inf=0D @@ -217,6 +225,7 @@ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {=0D =0D NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf=0D + NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedL= ib.inf=0D BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf=0D }=0D =0D diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.fdf b/Platform/ARM/N1Sdp/N1Sd= pPlatform.fdf index 7aae8e6a753b..07118725f168 100644 --- a/Platform/ARM/N1Sdp/N1SdpPlatform.fdf +++ b/Platform/ARM/N1Sdp/N1SdpPlatform.fdf @@ -140,6 +140,8 @@ READ_LOCK_STATUS =3D TRUE INF ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf=0D INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf=0D =0D + INF Platform/ARM/Drivers/NorFlashDxe/NorFlashDxe.inf=0D +=0D INF Platform/ARM/Drivers/BootMonFs/BootMonFs.inf=0D INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf=0D =0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119158): https://edk2.groups.io/g/devel/message/119158 Mute This Topic: https://groups.io/mt/106260157/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-