From patchwork Fri Jul 13 08:15:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 141858 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp511609ljj; Fri, 13 Jul 2018 01:16:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe+vJCiVd2C52XYBfodBNu0bF9cff3xpjlau+7qt6S80FJDntcnVLBqy/cPp2zBxI+wcbbT X-Received: by 2002:a17:902:20ca:: with SMTP id v10-v6mr5329854plg.255.1531469769292; Fri, 13 Jul 2018 01:16:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531469769; cv=none; d=google.com; s=arc-20160816; b=WFCFH81XADEHDOO988XKXW5+yTyN8X4f3E07BChaJfoTE9oumf7xbhcTfbjzB5fAtY 2R96kjuOkGiYIAvRFWGRkgkQPjXJPSJDlDDj9UE8NndRX/NAxN/VqtTgr6QsQ359Y01D w0P2ZxcV9JZdsg5OqgBlJuD9OmX7Tl3+CcmNRNjwkEBUEQMHWyld1MU+k2q1sJRogbBB t9KEqWToM/a82ZUn4wtN+weyruna1oYsu+/art16I9MV6jj/GH24atgzQXdY/gmCpG4K OkYWnTs36SpZlyN0XIdUIut8RT3AMUzodi3+RFxOs84rOcsazUupG4jLhYR53ev2CKFX RDJQ== 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=NrgHeIvoJQ73DTqHBl2ZYN+x1WD12KIKJ71x5ofs7N+TtGnTtNfLx7B1+tEmxl6TkH UTIHcxXKaritkYXilktbdS7p4MNVeHGo1qoLspfVwEOFW/kFmPNowTR2ISMdlhNsbbXr B3lxuSZc0O2uyLXKqn85QrrCYL+G0wc8o3vA+3wRe8JqBo7C/mvols2DOxmMC8yakS7f UaueSgjyqITuS+CJfgDo3KLSkqcqVqX5ju3gI2p+2Rzu9ehHGewqLA88+4CaezGvYQdx Uwjt9LW8kwPHhqnqTgW7R2Ev87VHZvQvlWfktxhOEy41flPaloxLyYZJ5Edd2wVeHgdh kEDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QlCIttWg; 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 w13-v6si22950565plp.51.2018.07.13.01.16.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 01:16:09 -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=QlCIttWg; 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 A5AF120986AD3; Fri, 13 Jul 2018 01:16:07 -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:c00::241; helo=mail-pf0-x241.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::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 8E18020986ABC for ; Fri, 13 Jul 2018 01:16:06 -0700 (PDT) Received: by mail-pf0-x241.google.com with SMTP id l9-v6so10590439pff.9 for ; Fri, 13 Jul 2018 01:16:06 -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=QlCIttWgvncTGO7DmngSZX0yaWUhdOZfXzQmtGmM/KLwJw6hJCOeAKRh+vJNBuJJX2 tHn1fYn0CCuoLQ4wSlCVTpBE1Olwg9fuApGeVQOISXboYo3riWog21TMVey94qmVthoz rN10RyeRufUUHq6UnoOogfBNj3Ikx0ZXdTgpI= 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=cEqiF7bmeQRy2UyMuCS1/ma0nEp06LuF+gJJTbMNtWrYeaMCNiHqGZEBhTRNafq56E 8AF9vPZhUBVzX2AAaVabGfbaK6CgI/fqIVpsD59v0TU5XrImsFOj96RBQ4ph64qDca8m xwML9n8pRosV7ToO+Ooluxtvul/q6D/lyWyEbHHtnYIH8TwBLURML7yUJHVKH8uyCA9i 0moAkjJ1GgCTywcxGNg8d5KXKx+++W3KDV1JZr/SlPOq3GHXhVWbJhmerWfgYP2ueI6n 8mv9jLZPgppLcThPipV7lbAHXIIbLeWkaW7ODa11O69k2mkKbbdxvdFtF+Gujpyk952+ zQQQ== X-Gm-Message-State: AOUpUlEOe6iiXc8gjy1+DlUfPB0TLfdu40sxiWlsvPGLq5k5HolCa49P 2lJBbGd/PI86u0p2pVmD/NZ/GA== X-Received: by 2002:a62:49cf:: with SMTP id r76-v6mr5850931pfi.235.1531469766314; Fri, 13 Jul 2018 01:16:06 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id e7-v6sm24400196pgc.55.2018.07.13.01.16.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Jul 2018 01:16:05 -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: Fri, 13 Jul 2018 16:15:40 +0800 Message-Id: <20180713081540.8414-7-ming.huang@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180713081540.8414-1-ming.huang@linaro.org> References: <20180713081540.8414-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 6/6] Hisilicon/D0x: Correct smbios product name X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 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, 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);