From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.98]) by mx.groups.io with SMTP id smtpd.web09.30340.1661252529808224870 for ; Tue, 23 Aug 2022 04:02:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=l1rU3Sjm; spf=pass (domain: os.amperecomputing.com, ip: 40.107.92.98, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LSxIIpuQWQ14yv85g/JFhfE1K9nwFc8C9DRbCpT0zSplNAtO1KvYLujDOUc4GM9o4WFzjbWzFvnTC4OKtuUIWousEph+Mffy+dF1GgQe+3UrC8xGshgTEKBkUm4xUNWBrzcD3hO1X/2GLCli6V7HbQCPDWciMPfvE3Bi+Nw5nUg7J8RwsTIt2nKm+so8GSIu6rb5IZvEXwWetmXWdOHyKVJTISNFfk2sHCB+lbQJck290YmxGR5/fM8PaI9wYAbGOYcD1rtNH2QCGZq6IZmXJJ1xUwrvT6O47wOAX4ccBrlLXkJQApzRmpBWGaMn7u74o31GI+xvCwOSKzAqIWQD0g== 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=K0z2NMygxRRHbj/UCsJNOaDDKp/d4eg6KvJCGKb5QxE=; b=I7yYeUtMY8sHVpYNvQ3FiA078qPgplqbb5VfW63pDUlpCBOaM+/57kNnolRa/hWUJYj3w4s0WdWazKdljnfM8K5LacXx2P3xHBHi+GjFG5IiULlGi9eivhfPF7u3e8rD5g73CXB2Zdp+7lo+lOfTe6yOAF3UdB2Runzwznc4xkoKN8cvU3RL8wu1gKIblos3NFTLFFyvYYjQv5sTLUztnDrDwsEJGv3lQQmmlloX4DfxoEqpBfaX1jzDsFTpwdDtw1jjqyNOZyrlrER+BloKwHhmaMGbiGk7AYdg/io3c7AHsX0doZ2d8nyFFGx3O82SLG2cCqsJuTg1LqR7gy/log== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K0z2NMygxRRHbj/UCsJNOaDDKp/d4eg6KvJCGKb5QxE=; b=l1rU3SjmnJZx6f5eUjao8rLqsREi7TDbTTUoj/rd5H7rYloX46KR+QTW/hCNGn86bSSJ9fLvubmfKUfQTi4dWBX/MwmkCI7rW3fUcde33eW+uYa3jijVnOeounG32SjmsinI7na1An33soFGRCDrTn2oOw8rFrDU0rsJZLkJpgA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by SJ0PR01MB6430.prod.exchangelabs.com (2603:10b6:a03:297::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.14; Tue, 23 Aug 2022 11:02:08 +0000 Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::bceb:a82f:b3ef:53b9]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::bceb:a82f:b3ef:53b9%5]) with mapi id 15.20.5546.022; Tue, 23 Aug 2022 11:02:08 +0000 From: "Nhi Pham" To: devel@edk2.groups.io, quic_llindhol@quicinc.com, ardb+tianocore@kernel.org, sami.mujawar@arm.com, quic_rcran@quicinc.com Cc: patches@amperecomputing.com, Minh Nguyen , Nhi Pham Subject: [PATCH 5/6] ArmPkg/SmbiosMiscDxe: Remove redundant updates in SMBIOS Type 2 Date: Tue, 23 Aug 2022 17:59:25 +0700 Message-Id: <20220823105926.1379824-6-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220823105926.1379824-1-nhi@os.amperecomputing.com> References: <20220823105926.1379824-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: SI2P153CA0028.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::9) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) Return-Path: nhi@os.amperecomputing.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 06405fed-9d54-40fe-fa92-08da84f6ebc7 X-MS-TrafficTypeDiagnostic: SJ0PR01MB6430:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U6hOR3YTF0bkt+37ymw0QcUjVQasPZYyA4VPzKa1OQf/pWhfqVOluOhIwTynvxPSz8N+kxHi0CLBA688GS0AaYsIo2EmKD/Nqb2vRXICPR6o7iZ4P6oPZPK5NNIwNri+EIyF9G79j4nx5MiKPWfeEaGoPQqM2mY0bM0RUt/IHaK2WVYPvWr6Bt1YZebZjnVKe13xhMvl1qnn6JBtJqADw6FJqL9H72dhmGZdHmUtH8Emvunw6zvl6Zqg8+JPngBHqco0RFRGk4tYMhTlWEfPaiGLvV5m3KTrltazPYXX4xYCmnCE1D442437mfD+3MIvJl21nSHcQKGPOlSTxdJo9erPfCb9ceJGT6EiyZwQyBkiUb2S/qXf6uVl2/yhrO/Mjxafa8XBJB5QWYmtlkfgLItNR81vEPBLXcFapXSyz05jQfHi5juPcBFvywsbaR20kazXfzMC8OuOWoW+zclpx1lXoT7T9Zsp40vrH6f9fNFWsrohxp9xK7/noMGmgZFXw1WEIpTIarOlmCiPukNBb15AYKRH+sFNVi4ytI9Cl+PEsUPov1uY+DsE8tz0+3z1ODJzprP+On5Qk9bUxusnCOKj4MsHUwYK1trkegXB42jypWSs7zFVST1KzToWD9YDQ+1b8Cc6zpzeR0sR3vnutnxjjikQo4GOD+82QyHAZDTc1t6QgUg9oDLRaoeMkCPgwi2VFFFR6ChBC6UUA1RNao9dafFHvxbIRhwe1TuccszwEJbpST4HnN9ViTuGyTwb+IF2QzfaoenzyeSW4HAMCQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB7287.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(346002)(39850400004)(136003)(396003)(366004)(2906002)(15650500001)(38100700002)(83380400001)(2616005)(186003)(1076003)(45954011)(38350700002)(8936002)(5660300002)(26005)(4326008)(6512007)(8676002)(66476007)(66556008)(66946007)(6506007)(52116002)(6666004)(6486002)(316002)(41300700001)(54906003)(107886003)(86362001)(478600001)(19627235002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Y3um7o1uIK6h7TGKJdi4yduN5GCOET5DE8C17rxgTw5IMizla3uc1a4kbuLn?= =?us-ascii?Q?/IjDTJWegAK6LpmTP483DiBim4hHS/ZqS+r7g/HlDq+/iFVRGCnd9atWViyX?= =?us-ascii?Q?v5+XjeLUag2HdWMmL00X7pqkk8MmZwzvm4NnFS4wQinOijvfdhR9gIsxy3yI?= =?us-ascii?Q?OSQ5jC5uD8Fw0P5wbgM/u13T7fEuV87l9vIdJwVmZ++hSN0AcdrFNZbqYRGM?= =?us-ascii?Q?8m60wRfGqt2YmynNxEyVpvpNq+GwEOLHQqUudLsF4/xSBvVCvZU8k+w3J/wi?= =?us-ascii?Q?hTpkiTIYzARaC2qegRW4d23Dp5T222lyW2zf0CvrD7OzELJFoTm2pR69E2uv?= =?us-ascii?Q?0Xsm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SpmeAUBVZG4E/kHDC81N5nT?= =?us-ascii?Q?aiOvkE64MM5GscWI0sA8nKw5PFKWMOdeuRxkM4tkQvInls7V7shbtLBwMcvK?= =?us-ascii?Q?oyQu5atkK8Q0w1PgNFKOtGi0rlGswZ8wGJDUiNgzmm5w8YYEu0qyKEa3uzj9?= =?us-ascii?Q?ofMaeVK7m81d5GYE9p211VqGV2WdAw1mVgnJZm1MRjIyPTm+mPZ5PxLwxSW1?= =?us-ascii?Q?rWp1Ph4mNYnTao8CWl0TRV5Uq5XlzpNCAW8qyIA5Ab3cbJ9/oNL/F5geXJff?= =?us-ascii?Q?aMoOqeyhVE5CMTtm5P41Bc7WCt+gB5qZpSOUlSGaswlAXZKXJQcl+0tMaLdH?= =?us-ascii?Q?dXQZ2RSUQ0QeSSowTMJpo4AguRXWEzAhUteFWe5Fyy2Tl1Kfc11AYkd90JQP?= =?us-ascii?Q?VtO6gUlrqXAGPu8i23nn2Xo=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06405fed-9d54-40fe-fa92-08da84f6ebc7 X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2022 11:02:08.2824 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WMFBXpVVXLZi3mKWCqf0FnR7wTIQTc1fG2YZNsvTkPh4OYGEcX9RhLjl7De8yrutP2FoDa/d2L7lBh0A+ZTezOWAXWqzE0uMq9akANMhz0U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR01MB6430 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Minh Nguyen This patch removes redundant updates of "BoardManufacturerType02" and "SerialNumberType02". Signed-off-by: Nhi Pham --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunc= tion.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManu= facturerFunction.c b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseB= oardManufacturerFunction.c index f61546955f12..3441e7798860 100644 --- a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacture= rFunction.c +++ b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacture= rFunction.c @@ -120,16 +120,6 @@ SMBIOS_MISC_TABLE_FUNCTION (MiscBaseBoardManufacturer)= { STRING_TOKEN (STR_MISC_BASE_BOARD_SERIAL_NUMBER),=0D SerialNumberType02=0D );=0D - OemUpdateSmbiosInfo (=0D - mSmbiosMiscHiiHandle,=0D - STRING_TOKEN (STR_MISC_BASE_BOARD_MANUFACTURER),=0D - BoardManufacturerType02=0D - );=0D - OemUpdateSmbiosInfo (=0D - mSmbiosMiscHiiHandle,=0D - STRING_TOKEN (STR_MISC_BASE_BOARD_SERIAL_NUMBER),=0D - SerialNumberType02=0D - );=0D OemUpdateSmbiosInfo (=0D mSmbiosMiscHiiHandle,=0D STRING_TOKEN (STR_MISC_BASE_BOARD_SKU_NUMBER),=0D --=20 2.25.1