From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=helo; client-ip=104.47.36.49; helo=nam02-sn1-obe.outbound.protection.outlook.com; envelope-from=leo.duran@amd.com; receiver=edk2-devel@lists.01.org Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0049.outbound.protection.outlook.com [104.47.36.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9164D20347178 for ; Tue, 31 Oct 2017 10:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ahDRlxaKmxOikNMmP7F72sKVHL6HQaaaPWbdER8Y9hg=; b=a/SJrF0qK0eyB4F9w+c+Ba903JSWse6IgBqPDwLgX5dyH/8xZOHRB+CBQ7NYpOuVpMRjTLqfrnPHRvIlz5rBCKxZOpotsiCKhMJPsG9tqssGTFxpXFDNWuyyO72MiWhYGUNzX05JdLFYUpp+F2j4p7rznfXfKRTxCdydZSraMsQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leo.duran@amd.com; Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by BN6PR12MB1236.namprd12.prod.outlook.com (10.168.227.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Tue, 31 Oct 2017 17:55:05 +0000 From: Leo Duran To: edk2-devel@lists.01.org Cc: Leo Duran , Ruiyu Ni Date: Tue, 31 Oct 2017 12:54:52 -0500 Message-Id: <1509472493-19062-2-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509472493-19062-1-git-send-email-leo.duran@amd.com> References: <1509472493-19062-1-git-send-email-leo.duran@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR14CA0005.namprd14.prod.outlook.com (10.173.227.15) To BN6PR12MB1236.namprd12.prod.outlook.com (10.168.227.22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1c407dfa-4585-45d7-a1db-08d5208884b1 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(48565401081)(2017052603199); SRVR:BN6PR12MB1236; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1236; 3:1RdEffDGoLhAAgulTrcAr/lfMQDV4GlmNLBgyB81aj2qYJ0YeTdJTOn+d09FBpcL4NbaBMdSKXN7x22RjSxfjXstNKwq56NkZgdGtJfpLbhZhpjoT8YbJbK3SgwQQOVMrywfKsjMRV+5QYsLzvSi4i20JULTG9Qb1wAmv/KgHk8/FN87Y2B3887rlOoCPifq7YG6xr0DdoLx9+l67ScWesvG3fboV+LoJk/deKFmsbD/aDdreDozu7sTsvwCjYfb; 25:uRC/1yPq4QitZNNQIrHBMv1pWmG0IEX7kjcbphfnldQBhGt0zhf/wNjjfzv3c4UpmoqL10QIIimTnVfJYzKrbXtvBSH78B7+XHAoS7Wutt7VuE6GjlTHBG5U1jKQtybop4nJitJIDCX40cH4NCZfz2sH/yWAphpVyD6MIe9MZQqogmPDuP2ekxTSA1msOHrIdYRgM6NgWm/der+rIcOt2XgXizOw7A4AbqmOuBD7Aw6jRIRx42h7pwI+Dfc3IAI6GY2s4E/356/o8NtDKcJ1nd0Pi1rTumehQ798CHO30EqnXxq6kkMsElffgoVVxH4GviTXmjyNbtvK6xVwIXBF1w==; 31:7Q5Ajh7nFLsPv9BZSDiMIRFo1I2Y5s8YAaX/SvfXmscbPOUDF/6b0no9J1GK8h7Znnt8TRA5E0BcWEZjeUJ5Lp1dT0z9Veflponx/FdcLPkKx9JzPACNXUaiYBwuzz81rM4wwXjfe4rssMJtBrCacirAbYFuGEvCeBjkDZGSeHZPxvNNVZvKjTvlMp1ulRRxrXwllfPcJJw8DtuHU0zveEb1cd4tIK15l7g3C8o7bF0= X-MS-TrafficTypeDiagnostic: BN6PR12MB1236: X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1236; 20:zNMpswRfbSWlFLQej9PrJ6oxXkew8YvdtoRbaavFQZNvZ9iIpq1+SGlT3tY0Pl4SZmE496B5qmlR/G+yGIBAN6XTPQ6GNFNLbAYaDH3lTS8dabvQzk9IUrwWXerPeLFROhLHcHLhAj0T998Wkz220FLxEPZgLQQqzjYLekA9u5XT8khshVtdkZgldwWdnu3dPXZTagw4n309JdZelf6GLeLF8HzUNEsRRF6X70DmSIjiNLHjdzS9eu4MC+nvBIaVKpnNfqVHsqeOs1WDb1jqiFQMAtITBl+NCzKRcBz48HfO8B3MlhOJUehElSyGNsQgHqEdYiFuANB72++RFJSKpXbC3k7bG85cHhDDXnZ+gcHpR/hw2a7uxVpc0XRmtgecPBVxZKRY8o0lbmKNIWqNCu/GxlS9fc53VSQ/OtP/podzTentY49KhsPGKAuuTfwdBGxq7SJV0DxWy2syCzGEzpjInNexxxIsr67br4hvsXHfq5s1eWXR4IvJ/B04ZhHt; 4:S70Tr0uqMrgCyJ89UG+YXexCQ8cwaP6IdQN/wY2wUDcHjBX5ljyfUxxyBj5GJZq0H/6QIZLnBXYqWbhBFu5OwX+yBPXHHd78NRGPLmuogEdPOhFWwElu4d0R3HfoY1A01jTLUa3pG5cbSLZSaKqmw4+lqsDbOnJcjPb9y355Gw05izjz5iPK3AoW+QTRCrqzh5m3P2NCa8Uh1KlGe5Isyg/V9XekgCC+YEBFfoMq1PQeuRM9aqkeEmdjQNGQ4kO+51DHkV8jhIJtUi1NcaZnArQ8nt/eD099Y8EFG4Sb52q0EjksRep40hgKwB8Fqjx418X7Sq5HGB26rk6MQNlQe/L5SgndyUVJ0Rknyv05dBSwIFSVvwFQt+vbBen7O8j9 X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(788757137089)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(3231020)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR12MB1236; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR12MB1236; X-Forefront-PRVS: 04772EA191 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6029001)(39860400002)(346002)(376002)(189002)(199003)(105586002)(5003940100001)(97736004)(6486002)(50466002)(4326008)(33646002)(316002)(575784001)(86362001)(6116002)(3846002)(48376002)(478600001)(2950100002)(7736002)(6666003)(6916009)(76176999)(50986999)(189998001)(5660300001)(101416001)(25786009)(68736007)(16526018)(305945005)(50226002)(8936002)(47776003)(81156014)(81166006)(8676002)(36756003)(2906002)(53936002)(2351001)(16586007)(66066001)(53416004)(54906003)(2361001)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR12MB1236; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR12MB1236; 23:OYKH78AQ+mUh+KIiTJna50ugb6TfdVVFOVn9mBNwT?= =?us-ascii?Q?dJ5ZwfynioJnDuY2GxRLNcLd3FqBHVhshR4V7uQAHJgONH782gSsQM00PnRc?= =?us-ascii?Q?2YtdGBX0ZXw01CjxqZ/8k4Re+RauYf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QQITmnn27S05NMOuFooWu9ZPyDQLBDGaVzCYtAY8bkPCrVYOmONIBr4MtsGzGAaDCm3Ud06WndbKZupBKnh9UBmQGr7eoLh6KEisb38P6NT/tTzfTA3VDw8pcvhI9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1236; 20:MRZkYhwUQoSD8Op72B/EABIzli1Iva6w8cboZeo8ZXrr1s47BQuGB5DWel8kSfVaZ9P/fUncoAn85C3ZT8qHcg46JX+NwVpzNNuMjgH372mpE2pNFbd3QAKCm6wsYEFBuUI0DFkTmUt9GjfWTVqn8jiLCg5PXcXvDhpOHHguffnxH5zpWGVWjSEdsGKOP4qeoiPbQMVh0dsvdNGprOGRjQKfxjMMccsn7OF/eix6HOIosHrzdYoJj2ByadS4Gp3h X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2017 17:55:05.0261 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c407dfa-4585-45d7-a1db-08d5208884b1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1236 Subject: [PATCH 1/2] PcAtChipsetPkg: Define FixePCD's for RTC register values X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2017 17:51:14 -0000 Content-Type: text/plain Define FixedPCD's to replace macros in RTC driver, to allow for platform-specific configurations. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leo Duran --- PcAtChipsetPkg/PcAtChipsetPkg.dec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dec b/PcAtChipsetPkg/PcAtChipsetPkg.dec index b0b2b62..f11d204 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dec +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dec @@ -5,6 +5,7 @@ # PcAt defacto standard. # # Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2017, AMD Inc. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -181,5 +182,17 @@ # @Prompt Reset Control Register value for cold reset gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlValueColdReset|0xFE|UINT8|0x0000001A + ## Specifies the initial value for Register_A in RTC. + # @Prompt Initial value for Register_A in RTC. + gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterA|0x26|UINT8|0x0000001B + + ## Specifies the initial value for Register_B in RTC. + # @Prompt Initial value for Register_B in RTC. + gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterB|0x02|UINT8|0x0000001C + + ## Specifies the initial value for Register_D in RTC. + # @Prompt Initial value for Register_D in RTC. + gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD|0x00|UINT8|0x0000001D + [UserExtensions.TianoCore."ExtraFiles"] PcAtChipsetPkgExtra.uni -- 2.7.4