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::142; helo=mail-it1-x142.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it1-x142.google.com (mail-it1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (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 7354D211E094A for ; Tue, 26 Mar 2019 23:57:30 -0700 (PDT) Received: by mail-it1-x142.google.com with SMTP id h9so24365402itl.1 for ; Tue, 26 Mar 2019 23:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e0iDAV6WHvFQzZdi8VVEPxyHYg/69uCia/d8JQCUHX0=; b=Zw5Ug2QL9HUYTkwP++K9RHHKu2AK71mTqfdfl72e+502QN5/1hGL0J+vjeMbie21AV r7gQs6rUOjez8jfOQhcPfjf4n48rmdRy4y//5r1zW+AiTr6dg9qSuagPAazzhDoNlghf Qi8n+owZzVD3rYGr2LdKSgJ6WlUVu5pSG1qaNFiQ9gaUaogmMV3JmVaOgwUBvjVNnrU9 F4QBWGHae1FE8Md2rMce+QQXpzsJynIO27Wne/17Fp1HGryGf3ecF7GTMQ/aXw4yMoCq u7E0ETOHjUWvxOd5Hj6MzHQ/nhOJkYod2YRgsXJ/WK2bWHU1n6f9yRKNZLiJ1oSN1nRP kFgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e0iDAV6WHvFQzZdi8VVEPxyHYg/69uCia/d8JQCUHX0=; b=rha5S5bDhLI9+xCN37z0CQTSARFaMhdvaEcO0TuasIFN0X26nRvfvTHvzhsyecr+Ip uSEeRu7DoI/0Zh5Hohy5LW3VkMJK2x2x8HeWUiNdLWVO9FMhPn5mqIx/VyaVDxip1xPD uFpyvg3IsZaB43pdla0GChH5jFy/Rwx9KuHwsvFar11TSJVLfg8Agoo+ebE1Auf0yp6T IG2ZfeTnLdifLCz26ujWh/rjHKCfWrjhygqJdEU0/DiilYvgyomloSi9HXCfrIuFuNnx a4oj8b+xa/LFP9mSaexLRK9zvtv8t7nZ4Yqmo5Pc9zYC//2tbPnYodwcuMxSzwISavVi R0Tw== X-Gm-Message-State: APjAAAURDBG6mPLeHMFKhyi3Ylt+H5/cLEAxHnBuddW/BDhpTEnI+JfR F6sdol5xTSS9Y6NvB9L65j66wV1/8wmptznG6tVWKA== X-Google-Smtp-Source: APXvYqw92yeEv+7e390vn4qbMIwmuDtif1RUvUAzbOfKlcsq8U0SS/0OXiKln7Oych3COyyfy++K9UsMpcTXkRO2goI= X-Received: by 2002:a24:11ce:: with SMTP id 197mr2065889itf.121.1553669848964; Tue, 26 Mar 2019 23:57:28 -0700 (PDT) MIME-Version: 1.0 References: <20190326202245.15061-1-leif.lindholm@linaro.org> In-Reply-To: <20190326202245.15061-1-leif.lindholm@linaro.org> From: Ard Biesheuvel Date: Wed, 27 Mar 2019 07:57:16 +0100 Message-ID: To: Leif Lindholm Cc: "edk2-devel@lists.01.org" , Ming Huang , wanghuiqiang Subject: Re: [PATCH edk2-platforms] Platform/Hisilicon: update D06 system firmware description 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, 27 Mar 2019 06:57:30 -0000 Content-Type: text/plain; charset="UTF-8" On Tue, 26 Mar 2019 at 21:22, Leif Lindholm wrote: > > Since the D06 port now depends on updated IMP firmware to function > properly, there needs to be a one-way upgrade path. Upgrade to the > current state of things must happen via .hpm. Subsequent capsule updates > cannot be permitted to go below this version. > > So update the firmware descriptor to Version: 3 and > LowestSupportedFirmwareVersion: 3. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Leif Lindholm Acked-by: Ard Biesheuvel > --- > > Ming: I would also be cherry-picking this patch into RPF 19.03. > > Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc b/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc > index 36175338dd..1287dfd834 100644 > --- a/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc > +++ b/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc > @@ -22,9 +22,9 @@ > #define PACKAGE_VERSION 0xFFFFFFFF > #define PACKAGE_VERSION_STRING L"Unknown" > > -#define CURRENT_FIRMWARE_VERSION 0x00000002 > -#define CURRENT_FIRMWARE_VERSION_STRING L"0x00000002" > -#define LOWEST_SUPPORTED_FIRMWARE_VERSION 0x00000001 > +#define CURRENT_FIRMWARE_VERSION 0x00000003 > +#define CURRENT_FIRMWARE_VERSION_STRING L"0x00000003" > +#define LOWEST_SUPPORTED_FIRMWARE_VERSION 0x00000003 > > #define IMAGE_ID SIGNATURE_64('H','W','A', 'R', 'M', '_', 'F', 'd') > #define IMAGE_ID_STRING L"ARMPlatformFd" > -- > 2.11.0 >