From patchwork Wed Jun 27 07:04:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 140306 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp505976ljj; Wed, 27 Jun 2018 00:05:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLAPfOG2FGIzfUvRKYdGqOmfIHOrHlvgG4ITZP3PP9OAyrvZItERhDLDbyn3f+L3CmjMRMO X-Received: by 2002:a65:450c:: with SMTP id n12-v6mr4173119pgq.242.1530083110725; Wed, 27 Jun 2018 00:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530083110; cv=none; d=google.com; s=arc-20160816; b=w8i6ginTilDWeMGZSDwGbd/paLYTqiQc96Lkj/TVOqg2erS3qxX4ICcsGW3wmqh6Ku TrkboGvvUKIZpKix10CbaOFLr6i9z+D828pX80m9d54S2ZmH3WxRe96itPoD+cygwWZn MVvYVXxslJ4Y7tJoYF2MuOuKJumyaG5zmpm5SFFdmDePJ1m7WQjI5Gxj7fllJe+e/vK5 1+gi90b0tpa5SKlVS+d2g6a9blKJVdzAjakZT3QaqHWTK1Kyy95un4pwOoUxhF9LWT4K BMnMzjbEC5ZCzp2iOeankiQ+uJltiwbmQ1/jTHiqR7f1igfRK67Yhx0ih/p5qvbxKDK5 ATIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=FGeLksboXOCjYBzn2ojOL7D5kDRbzXSQWr+BpVxHRA8=; b=oNbs7X9PspZtXz7ANO80c1exLugYcZ3dqu1HO8EHyujdfw75cc0qpqXvEjzvwe+jPf 11I+LQyyaezoqJpnQkFo7dklQJHLZiz1VSVorr/feGW9Kp7dlHTm/6fwSJfSUeYWoKIQ EmNJFvMjukNDowdwlAtnJ0HP7SUgdIq6mvMGU7S9V/3hh90eKHimIao+Af0tGY7pEKwR +nEbUacG2oO1pfNfnsniZkrG84iQIb6JZwIvMB1otMDzH0UCmrCeIjd3f1AiPr7XKKV9 hRMAyVZMTp5zTmSbbFMucO2Q6qldJRp+BHu5Mx5nlBSbls/UMJh/VNwr4teT2haSnP7z 5Exg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VtaJH2Yr; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id o6-v6si2933554plh.158.2018.06.27.00.05.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jun 2018 00:05:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VtaJH2Yr; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3C664202E541D; Wed, 27 Jun 2018 00:05:10 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c05::241; helo=mail-pg0-x241.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9DF16202E53E5 for ; Wed, 27 Jun 2018 00:05:08 -0700 (PDT) Received: by mail-pg0-x241.google.com with SMTP id e11-v6so538787pgq.0 for ; Wed, 27 Jun 2018 00:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xWLk29EGw3s9NQWq/MONaz7B4FkrWLi4cB3eyEnsuv8=; b=VtaJH2Yr5pDnUnpaZ7JhJriFov6yzsexPhcyxxO18rx5ybHN2luAa8nq+uFSReaeUS lp3AbA7Ackg5jp2yyErS5BgeIuYafWRFWjtzxJ9GtLYEigk7FTQWmolTH7xPOrCLUJEc eD23d1qQymaTXbgfVtiPfli/L2tqWo72XGGP8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xWLk29EGw3s9NQWq/MONaz7B4FkrWLi4cB3eyEnsuv8=; b=ku8xU+OaqJU/+8pNOvfo5YLeYU4xvI2tiIO90Ruld1nEVcIr8GxX+nfoOHqRsHqTSv uil2QdFWk5LSer7NyM50RMg9Db5oauLOnEaI24jTOP9RfN2rElC8LQwWebW6h1/OTsH0 4uRoGr18BR53Ik9AbJvniiJDFsZbWKsjHhKuokfTXu8zcKooqCE/01qNv8YOZdRqnFLJ UWcvWsEQa3NKxicMTYhaFEM9DvTFzFOUria5VxE7Y4IrxN12G6N7WPQQo5OSoXv0oweH Z5cfL6H+FbVGYuMkWCqhkNx4+3yJ12VXshCutUSGNGUod80qh3KNjadK4qAQb9LSIgJi 0fqQ== X-Gm-Message-State: APt69E0UpWEAPYrNspwofmWbsvciGB8wuEyIm0AARZoOkr6KMwuBkDNO P1HUZ8Y/H8eqEi+dE82OwEcG4g== X-Received: by 2002:a63:6ecb:: with SMTP id j194-v6mr4176503pgc.158.1530083108393; Wed, 27 Jun 2018 00:05:08 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id q6-v6sm4128833pgc.21.2018.06.27.00.05.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jun 2018 00:05:07 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Wed, 27 Jun 2018 15:04:43 +0800 Message-Id: <20180627070443.42886-7-ming.huang@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180627070443.42886-1-ming.huang@linaro.org> References: <20180627070443.42886-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-platforms v1 6/6] Hisilicon/D0x: Correct smbios product name X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, john.garry@huawei.com, Ming Huang , zhangjinsong2@huawei.com, huangdaode@hisilicon.com, guoheyi@huawei.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The product name getting from BMC is not suitable. It may cause ambiguity. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo --- Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c | 1 - 1 file changed, 1 deletion(-) -- 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c b/Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c index fcefe2442c..5e965c996c 100644 --- a/Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c +++ b/Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c @@ -86,7 +86,6 @@ MISC_SMBIOS_TABLE_FUNCTION(MiscSystemManufacturer) TokenToUpdate = STRING_TOKEN (STR_MISC_SYSTEM_VERSION); HiiSetString (mHiiHandle, TokenToUpdate, pVersion, NULL); } - UpdateSmbiosInfo(mHiiHandle, STRING_TOKEN (STR_MISC_SYSTEM_PRODUCT_NAME), ProductNameType01); UpdateSmbiosInfo(mHiiHandle, STRING_TOKEN (STR_MISC_SYSTEM_SERIAL_NUMBER), SerialNumType01); UpdateSmbiosInfo(mHiiHandle, STRING_TOKEN (STR_MISC_SYSTEM_MANUFACTURER), SystemManufacturerType01);