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::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-Google-Smtp-Source: ALg8bN4Og2KfkbC/rKgX0ZzGydNmryGGeQ1GTFiLG2t0Uag73MqrsuaMb21FIiMzAK8BdiV2ghi7IQ== 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 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, xinliang.liu@linaro.org, zhangfeng56@huawei.com, Ming Huang 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: [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: , X-List-Received-Date: Fri, 01 Feb 2019 13:35:57 -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