From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: APXvYqzBclvzYibqGOcLB1wIOFao93rqYb7guFrYCNd0LIzxTD9n+wuLLbVaM9E2ETwNEUR53qedYg== 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 Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, zhangfeng56@huawei.com, xiaojun2@hisilicon.com, Ming Huang 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: [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: , X-List-Received-Date: Wed, 20 Mar 2019 08:10:10 -0000 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(-) 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 ################################################################################ # -- 2.9.5