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::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-Google-Smtp-Source: AHgI3IYU+XNql4prxKkqz0phQiN3svwP9sP+ChkuDirMf2C/ALXu/W0oQK+/frZGkzbGB6+T5+G+/g== 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 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 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: [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: , X-List-Received-Date: Wed, 20 Feb 2019 07:29:24 -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