From patchwork Wed Feb 20 07:28:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 158782 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4602579jaa; Tue, 19 Feb 2019 23:29:30 -0800 (PST) X-Google-Smtp-Source: AHgI3IYMEGDx2cM4KrtDbaaryX+Mr0vOHyblTnf6+IoGRVQ/VKtzZgEAGlXw9b35kX9mcGPFP6J3 X-Received: by 2002:a62:fb10:: with SMTP id x16mr19686356pfm.5.1550647770119; Tue, 19 Feb 2019 23:29:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550647770; cv=none; d=google.com; s=arc-20160816; b=NvC6c/tPQAPmA1VSv8RtpYx4FXNo8u5qWF/RK6fOC6Gzn4K7mrVXMTVK7yEF1CoGYs 3ksitHngb4O/s0Z4LtAh/u5LbHipVH2En/8RCffjaGuAn0sxgNfmdWxisz/xosyqQuSA IUgeIncGHmHaInq6X2sKYB7rRXCMQfyVtByg7r58tx0jqAYnkse1C4fSoHpUqaHOmgP6 pAwT7ClDn6RkUUSb4fqWaTUKajezXqZJnfsgqHQXTIbExsJZNuDpxeYIBPndoSrVNaBy aw80c/F/+NGj64e96Rrcr2McpKgyz9rMUFZqRsxsmMv4fMa+YKDRIc2aTs0TMrwomRix FTnA== 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=A+9rGRM3eATvBaGyJr8qGL8eEED1mNtEmbANaYbulpY=; b=ujninqngxpJK3bKDSWFtKys+4QEYG/d42jvHr2621CaT5PB7dp8YRo/Qh47F7ljaxF gfktTbgDeUCp5OBby0PHFXEQ9O1k1IXUveaImrmLba0ZVOo6Bdj0KJR4G937/7lC8ZMA Yxbg3rQoe7vNcCWmt6zKp1URw5F6J/v0QRLdCMaUTVHYF4aAHSrE0uXmhkFpRSSVybY5 w9J+4+SQKuoYhFAfuNk9eEyUtnV59ntfgf4SyGafJyXmjfjq+4EhDiMp98zPdieCXrsF uP/+EKf3IsYHCbX+2ZWLHJGgBfKL43p0R371e0VZ802ztSWVhHbNqTyOztSDqbUYrrXE EGGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eMI5qmZl; 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 m1si1369566plt.28.2019.02.19.23.29.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 23:29:30 -0800 (PST) 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=eMI5qmZl; 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 DB27E211CBD08; Tue, 19 Feb 2019 23:29:25 -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::543; helo=mail-pg1-x543.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (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 8ACC1211CAF43 for ; Tue, 19 Feb 2019 23:29:24 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id q206so11432983pgq.4 for ; Tue, 19 Feb 2019 23:29:24 -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=ip0V/JyUxL0WXiEF06KmBbPN/FjAEZTo8CxpaLVHztg=; b=eMI5qmZl7kpI4qkxnEu4SceoWQaUmAtow34nD/06sQzltdVsSLoXtS+OMnpnWfymHs EEALl0CgrBYff57I9mWewF/HUFDFUOg5Kq8tW20Ps85r8JSrSkBdnojnhT2EgyD4I+8U LctYHuOdZeuuFi+h0YpXjT2Q199P6nxtLrPW794UmG7604TpGj2ymzTWOqFz6W8n/W/q lMrVVYjDgSWdcpWa5/kXWQsf8AwW4TYt/oRDIdAr4Xs+YFTjqkgqfpnQSAfB/+5yCcUV Gt6q6gPiKd99jQ40wCRh+rVByAqpAbSFbyHUy7Z4KuOURzYzuuLlnAsmjfrjtOQPLISP 1q7Q== 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=ip0V/JyUxL0WXiEF06KmBbPN/FjAEZTo8CxpaLVHztg=; b=OAX3dBr56IL5jtkcnr16OKNhXbShe4CZ7Htenfbb2qjJuZ/xqEx58j0QRGBSwRCQnl cZ/ctFKyBgo8CbaZ7nOqRei2hY99Ou5YAM5T3KjTlAFjHd6GJcztOFVaZ9QZg7BVi2Gp s2ii40OIH3bTZoVTQflgJYCJZWs06fIVswIQgWiDFfOaRA5gtb7brf2Z4nUnUE3CQFlV TANZRJ7zLz+X3AddIjBiJaxY5QABwi2hDKW1rBEZ37+Ma+g8AmtD4aMUbMjk0+e+GR0j +gY4ymF3F1nA5V7oHkc5EFVu17VNgoaKymY1AXp/pMsqG7ZRgrtYVt33/KilONkxmf0c TavA== X-Gm-Message-State: AHQUAuatysTQpPx86MXs65RU9cWa0djCyNpuDJF1nO9HeO3HyfH+8/U2 IFBvGFwXhQp1+Ufdhkm/azMhrg== X-Received: by 2002:a62:e910:: with SMTP id j16mr19912146pfh.44.1550647764277; Tue, 19 Feb 2019 23:29:24 -0800 (PST) Received: from localhost.localdomain ([203.160.91.226]) by smtp.gmail.com with ESMTPSA id 23sm19152969pft.187.2019.02.19.23.29.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Feb 2019 23:29:23 -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: Wed, 20 Feb 2019 15:28:31 +0800 Message-Id: <20190220072837.35058-13-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190220072837.35058-1-ming.huang@linaro.org> References: <20190220072837.35058-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-platforms v2 12/18] 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, john.garry@huawei.com, xiaojun2@hisilicon.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 ################################################################################ #