From patchwork Wed Mar 20 08:08:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 160646 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp519547jad; Wed, 20 Mar 2019 01:10:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOnOVjPeoNW1qvhR5qE6GAyPejfwdzRbqphp6lR8nQSx1CYowYbgDRhTdsIZJuNf6bSJl9 X-Received: by 2002:aa7:818e:: with SMTP id g14mr6266758pfi.245.1553069412915; Wed, 20 Mar 2019 01:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553069412; cv=none; d=google.com; s=arc-20160816; b=z95E/BgGdjcWUXkMsPUafslrkghghYkgtCzwh9iZMrSjwiovh6L3IfWSeHuE60QN1K xMhOSTEO1V/VHNZG6j4a8Z3v+iL+7HFjgi/F+lW5Xby/FmOFH0PVSpvdWVVs22eIbD4N WDLvqoz0fTa4QgiyAxSmRDIT56y43foFUCrXjM3CWUsP9FRgOVgWf3e9zTE9O7uS+2Ra xkzAIiGRTD4hbfA9TRYeDBkwfG4Gzqsf1RZrG4nl9PKUukm7FZdnosCv5gI2BT52WS2m pSKbX/jMKcYHDyeyT7eECPwft1aClRt8bjglE0FRR9HG4gEhio7wF10BNApXhkHXn1Z8 urcQ== 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=cNOvSeaqrTVB+OoDa4r+eIVXZ4ZB8EJ6FU0iPZVMrTaNEup9nojcKirgbCjkExF25w 10px5zxxBn3kQUh/bxwdvOo0NzwDGEbZnQiNNuQInFlxJHSmNmuFE0sFHdozREMht7og 4uFikQa4TNQieQ8BV8FrmAvK/TlTqoEsGEazxapKHKkBif255yzAc6sqWjbJv2pl3VGI ibWjUApsC2mNb3QYuREinjh3MmtyioA40nZIyGP/IaAGSZoN4weL9jIu1rs4h+lhAp/u rJ9ggtrYD7lUE5AHNkJeHDHbhXnYZQq5gN+valK8pXGsihxx+VU1l8JP65L8L8+90/0A bI7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vwAwHFgt; 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 c6si1172213pgd.106.2019.03.20.01.10.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Mar 2019 01:10:12 -0700 (PDT) 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=vwAwHFgt; 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 899F1211E0924; Wed, 20 Mar 2019 01:10:12 -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:4864:20::441; helo=mail-pf1-x441.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (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 707CF211E0111 for ; Wed, 20 Mar 2019 01:10:10 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id v21so1330684pfm.12 for ; Wed, 20 Mar 2019 01:10:10 -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=ip0V/JyUxL0WXiEF06KmBbPN/FjAEZTo8CxpaLVHztg=; b=vwAwHFgtGWkVynOvOREGmRxdawYqodRlxGl3tBYSQfHn4m4yBKp72eimWgt052vJTy dl0HD4hbAofFTN654VZOK8GiNR/f1PoGo3XVMlWRiDoJdR837R1sUTKwTFLgfr0AbijH mAmQdM/E3rQLWOII9vf/ccAcQkDWvi83djsVgM38IV9YLykjjBJtH5FFJ9V+cMvv6BNp KPaVU70vUNKKje6sYjakvEIdBUGKP8CWYfs2tKHNMdDuFuBHyIK6MxGhhCDWGQxXtOm/ v/BX/HdKpWI/KjyEVbbqs3Y7AfyLAvD/oUEhUfphnDzTzo2FlaiyWCt1CwZ1QEIGb7an MW3A== 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=HQYLvEoBBuNrTNjjkYzyzJ2OHmLccnDmrQEPDvHawrgCG8SgOSLK6eAw/iMQRoEjbg QR4ZMvWkr0owfnx+lU8o2nY/y/a/DpOFf8PXjb1rzr6q53UV+ALimKSxT4rN6z8E3W3E NV+p4Dzrl+aJvBc/9sszIqe5/3cLwXVmNBeuUj4XKjLx3aBx9fqLmLAFrxikR3JQenRl t3B5/FOwnooHIw312ER3b9VInz0lZKsa0y0DBYEm/N0iMDS0YIwOtyvjiPIo3Ee4WU/G lT/8pMEvRJWMEqraHORw4JGlTbfvrvuabgoWQQU2A/LT5tCcR6cMiMzAA5pKr3G7skIf JY4g== X-Gm-Message-State: APjAAAXSQgjAphswwHaDDgq+k/7cKlcM+Bmd8EulAKRkUSY/oy+D/sZN qAeWOkdbyCHecYbkHUz5iq4jUmVn3So= X-Received: by 2002:a17:902:2ac3:: with SMTP id j61mr29487244plb.112.1553069410110; Wed, 20 Mar 2019 01:10:10 -0700 (PDT) Received: from localhost.localdomain ([203.160.91.226]) by smtp.gmail.com with ESMTPSA id f9sm1602796pfd.10.2019.03.20.01.10.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Mar 2019 01:10:09 -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, 20 Mar 2019 16:08:25 +0800 Message-Id: <20190320080829.52003-15-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190320080829.52003-1-ming.huang@linaro.org> References: <20190320080829.52003-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 14/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 ################################################################################ #