From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 3F460D811A7 for ; Thu, 29 Feb 2024 15:29:51 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=cztJXHQo6tt7klH8bFNInKG01zCZ9UZ7vPi6PojRi28=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1709220589; v=1; b=fVDtaW5PdeWltjAkI3MmUv6qOtAXVRNYWSUzyoqy+l6duxyQvvZjB6r+76cfHV/REUkVcdp5 0ynT88Q23BlEPvkDSa0Wk7x8bV4gzGlj5mDYXfvUX33Vn+02QLD/vs8WP+mkvJ7tcyWuI8erIZx OkEGI7mVoB7lPGq4SGy8RSx8= X-Received: by 127.0.0.2 with SMTP id 314HYY7687511xEGyotKHtgQ; Thu, 29 Feb 2024 07:29:49 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by mx.groups.io with SMTP id smtpd.web11.27741.1709220589288921966 for ; Thu, 29 Feb 2024 07:29:49 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="3540028" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="3540028" X-Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Feb 2024 07:29:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="12544563" X-Received: from evancy.sh.intel.com ([10.239.159.137]) by orviesa003.jf.intel.com with ESMTP; 29 Feb 2024 07:29:48 -0800 From: "Chai, Evan" To: devel@edk2.groups.io Cc: Andrei Warkentin , Sunil V L , Yong Li Subject: [edk2-devel] [PATCH 2/3] RiscVPlatformPkg: introduce more Pcds for PCI initialization Date: Thu, 29 Feb 2024 23:24:51 +0800 Message-Id: <20240229152452.1096498-3-evan.chai@intel.com> In-Reply-To: <20240229152452.1096498-1-evan.chai@intel.com> References: <20240229152452.1096498-1-evan.chai@intel.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 Reply-To: devel@edk2.groups.io,evan.chai@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: U3WqgZwonKKoFOY356h7mBFPx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=fVDtaW5P; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) It is assumed that the current system only supports a single RC model. Cc: Andrei Warkentin Cc: Sunil V L Cc: Yong Li Signed-off-by: Evan Chai --- Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dec | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dec b/Platform/RI= SC-V/PlatformPkg/RiscVPlatformPkg.dec index b45f48fd..8eeafb2b 100644 --- a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dec +++ b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dec @@ -1,6 +1,7 @@ ## @file RiscVPlatformPkg.dec=0D # This Package provides UEFI RISC-V platform modules and libraries.=0D #=0D +# Copyright (c) 2024, Intel Corporation. All rights reserved.
=0D # Copyright (c) 2021-2022, Hewlett Packard Enterprise Development LP. All = rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D @@ -89,6 +90,21 @@ [PcdsFeatureFlag]=0D =0D [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]=0D + #=0D + # RC initialization=0D + #=0D + gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPciIoBase|0x0|UINT64|0x00001200=0D + gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPciIoSize|0x0|UINT64|0x00001201=0D + gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPciMmio32Base|0x0|UINT32|0x000012= 02=0D + gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPciMmio32Size|0x0|UINT32|0x000012= 03=0D + gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPciMmio64Base|0x0|UINT64|0x000012= 04=0D + gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPciMmio64Size|0x0|UINT64|0x000012= 05=0D +=0D + #=0D + # Inclusive range of allowed PCI buses.=0D + #=0D + gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPciBusMin|0x0|UINT32|0x00001206=0D + gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPciBusMax|0x0|UINT32|0x00001207=0D =0D [UserExtensions.TianoCore."ExtraFiles"]=0D RiscVPlatformPkgExtra.uni=0D --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116173): https://edk2.groups.io/g/devel/message/116173 Mute This Topic: https://groups.io/mt/104645142/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-