From patchwork Fri Feb 1 13:34:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 157221 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp437889jaa; Fri, 1 Feb 2019 05:36:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN5pBLnqjvFfnphAhKu16odD14AtqxMZEJvwlumhHYkE7sSulSILAB6jg4LCc+StDFk+Rtqg X-Received: by 2002:a62:f51a:: with SMTP id n26mr29176699pfh.245.1549028160876; Fri, 01 Feb 2019 05:36:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549028160; cv=none; d=google.com; s=arc-20160816; b=nQkOpaLcriN5lpL1wX0A8/pcNHc4832Jg84KuoxWfyY2k5AmAbJ6uHvuegsv7HMvb/ r8hTFyLe5XKQek9BU3oEdl6OxAXaM1icEatElA2NNFRbUU8ExWvTJksZYRVxdIB64IGP 3UaBWddgeq3LR4WDztxrmcfzpZSsPNk3a1VkVaPC1N2aXI7Ew1cbiZoZcbSThy4wZ5sl CIofzSTXP2h/kteTCKfWUQ4/mg4Fqkp3+y+QgepD7FSvN6Ww2pmKc5CE263OgpVnKNRt gbzb+mFss5rXlkreaW0RAUJshACC49GiLk2UndiRCrMrA2Jf0qw8vHmafCRuNgtLK4iH ICjw== 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; bh=PXDruX5NB1zlsWho+f3VEI3fjF7t+F4xbFVMWYUn/ng=; b=kBB71OofTS/q6dhsfa2WCTOZH7EwAeT8Tq2d5ocwScbZRMudjI98cCP+InI08oEfKA 6Is3zIGIgjSMflOhRIV+FGCcQXyko1suWt2gMLaoC8yIGPh+3vYqrC9DV6TrzTSKwtUJ Fzyp4eSWsAeJnOdHJiK7fZbf2kl8PQn5kwRQYouIXG5r6geN9o8eLHnzlqBJx8Ivj+An misJKDvNQTOkmZmJj5LFnMGJi+cx/vsHxVbzyBn8Nqair9gcAfauhOudq5xhia8iXbtB Eo81az5WPC6zSd6M/Ok9EyzEIWHlyy5gpDxBdj0JClO9dyo3rL/IsMTGclgxxXryoojw 9Xig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="a9IVAMx/"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id bi6si7499030plb.279.2019.02.01.05.36.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 05:36:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="a9IVAMx/"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 009FA211C609A; Fri, 1 Feb 2019 05:35:58 -0800 (PST) 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:4864:20::641; helo=mail-pl1-x641.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) (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 B8737211C5729 for ; Fri, 1 Feb 2019 05:35:57 -0800 (PST) Received: by mail-pl1-x641.google.com with SMTP id w4so3246748plz.1 for ; Fri, 01 Feb 2019 05:35:57 -0800 (PST) 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=+s4AGV80FE9hgqm7Qa3PaV6XRFznAxjSZXmqi4X2oFk=; b=a9IVAMx/w25xWWY3enjdRlXbx5yq32rwpIgd8+CItKWg17+sXvtG7B0rxGe70l771G 2yfrmKlkdyPupnxQeD6iCB68MYjWgLyXy9QBs5oIVMNJMPwGZnY1Kd6yU/2x2yj0LvB2 pM2zN77zsju4oXgca14QBA0R6+kFZRWivBlPI= 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=+s4AGV80FE9hgqm7Qa3PaV6XRFznAxjSZXmqi4X2oFk=; b=A/Y4r7n5olF3EaC3lhBshjqNaNV3ySC62LYyv2Xhg+VnVSkj+JY2BOfZJtCY7NPrOe h/ghV8K7mDD58m8Aal+t2tjHinRe9Hk1MIIjydwOCEpgCHcKgHa17hL9kwdZKwdrQ1sK SNEIK5jvC5GIgWOcEg801Tx1yzfYlDbIp+ddN9IU92mz0mWo3vrkb5M+QtLYDEFqTZga 26Jh61thuA6uO+020hUtg4218rRfeSyFJpKDNB/DbMM1C2OCfuIFddd6tAJ55ZnCSe6p xQlxaums+fxm3YHvIKRLy/OKmIgvbd6541Tgq23fcEXm5SGvy0OkPoPs7ajuIElExY8b gePg== X-Gm-Message-State: AJcUukc88fj6nraIzs+Ck7oZuLpWFn767bw1LXnQb4Q4Gno5m+A10FkI Tk9vy9JJnZkNW8eDbgJcc1MnPQ== X-Received: by 2002:a17:902:9a8b:: with SMTP id w11mr38573710plp.121.1549028157477; Fri, 01 Feb 2019 05:35:57 -0800 (PST) Received: from localhost.localdomain ([114.119.4.74]) by smtp.gmail.com with ESMTPSA id s21sm11134073pfk.133.2019.02.01.05.35.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Feb 2019 05:35:56 -0800 (PST) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Fri, 1 Feb 2019 21:34:32 +0800 Message-Id: <20190201133436.10500-13-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190201133436.10500-1-ming.huang@linaro.org> References: <20190201133436.10500-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-platforms v1 12/16] Hisilicon/D06: Use new flash layout X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, xinliang.liu@linaro.org, john.garry@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, zhangfeng56@huawei.com, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" In new flash layout, BIOS fd change from offset 1M to 8M in 16M spi flash. Use the new CustomData.Fv which indicate the offset of fd and which flash area can be updated for BMC. This patch is relative with patch "Use new flash layout" in edk2-non-osi. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Platform/Hisilicon/D06/D06.fdf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.9.5 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Hisilicon/D06/D06.fdf b/Platform/Hisilicon/D06/D06.fdf index d495ad7f264c..f72b513352fb 100644 --- a/Platform/Hisilicon/D06/D06.fdf +++ b/Platform/Hisilicon/D06/D06.fdf @@ -29,7 +29,7 @@ [DEFINES] ################################################################################ [FD.D06] -BaseAddress = 0x204100000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash. +BaseAddress = 0x204800000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash. Size = 0x00400000|gArmTokenSpaceGuid.PcdFdSize # The size in bytes of the FLASH Device ErasePolarity = 1 @@ -124,7 +124,7 @@ [FD.D06] 0x003E0000|0x00010000 0x003F0000|0x00010000 -FILE = Platform/Hisilicon/D0x-CustomData.Fv +FILE = Platform/Hisilicon/D06/CustomData.Fv ################################################################################ #