From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::242; helo=mail-wm0-x242.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 75906211D4D4B for ; Wed, 13 Jun 2018 11:56:56 -0700 (PDT) Received: by mail-wm0-x242.google.com with SMTP id z6-v6so353287wma.0 for ; Wed, 13 Jun 2018 11:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=d9HnrqV8HWK7qSLzH2fZ02182/5/X6pj9GM2DSvj4Dw=; b=SEeFxHsUvz5XxL87yMttweMDuY2N6hwepsDMNuYHZpISwBShLw4VGp7ErKb4coAYGh xQOGfBHMAORpgey9nACPYHrIZyY9aHVCn18EDCLxG905q7IoTUFOcG2vRoEQRV/6IZNn 9t8oh9ObnUYUOe4lS5CYjSiBULyTBXYovwUUI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=d9HnrqV8HWK7qSLzH2fZ02182/5/X6pj9GM2DSvj4Dw=; b=A7cmaP5vPTMgcoJ/nVksTACQ90TSlZ8+ULwPTHf18C0FZ7ZQD3low445C+Lwbtm7vB p0sMHU66dibs+NTdRTQ2vdASTpB7CxRJGuazMYLMU9Xh2iEzfhr4VA2H/nPgkqhVwQai /feCdl3DsJCCDP7aKSSamQreIX4BDKdab1O4EWRcUkBu1/nMHLih2SwuaJsFYPzg2+mO b1naWmTYlb+8cZZT+NT600agyE3I0ciDt1ON3F8aiqUIxWT6GYkMi6OdKxdNE3UfnCzF d4OU2/9jde6KLLo/+KzuFVEAVCQtuzaUzy0/4w2Gv1kK7kKGR3dpocRfEcUjwroB/cqa fiGA== X-Gm-Message-State: APt69E0wSgRIaI5ZtXfjfuxASY5XLsl2UdhNVtcPF+w0WIt9hTkzL04A FbR57Tzaq0/VrIi9XbnPw/ZRLw== X-Google-Smtp-Source: ADUXVKIwzJX0oeLFb9zbXPdw5zD7og9iyOna7BxDifhulN0NqSf/iwQ5ngP+bygAj4Cf5+rfNInvRg== X-Received: by 2002:a1c:ad50:: with SMTP id w77-v6mr4541676wme.54.1528916214676; Wed, 13 Jun 2018 11:56:54 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id e188-v6sm8751795wmf.21.2018.06.13.11.56.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 11:56:53 -0700 (PDT) Date: Wed, 13 Jun 2018 19:56:51 +0100 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org Message-ID: <20180613185651.5lpl6bpa7olb3vyn@bivouac.eciton.net> References: <20180613162826.19986-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20180613162826.19986-1-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v2 0/2]DeveloperBox: prepare for expanding the capsule payload X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 18:56:56 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 13, 2018 at 06:28:24PM +0200, Ard Biesheuvel wrote: > We intend to start distributing firmware update capsules that include the SCP > firmware partition. In order to allow for more flexibility regarding whether > a capsule contains this piece or not, update the flash access routines and > the flash partition descriptions so we can update any part of the first > 4 MB, consisting of the CM3 bootstrap code, emergency flasher, pseudo > EEPROM, SCP firmware, ARM-TF and UEFI. > > Note that this means we can drop the 'TEMPORARY' patch I proposed a while > ago to hack around this limitation. > > Changes since v1: > - use more parentheses in if () condition expression (#1) > - use symbolic constants for code and env NOR regions (#2) For the series: Reviewed-by: Leif Lindholm > Ard Biesheuvel (2): > Silicon/SynQuacerPlatformFlashAccessLib: relax FV address check > Silicon/NorFlashSynQuacerLib: describe entire firmware region as FV > > .../NorFlashSynQuacerLib/NorFlashSynQuacer.c | 18 ++++-- > .../SynQuacerPlatformFlashAccessLib.c | 56 +++++++++---------- > 2 files changed, 39 insertions(+), 35 deletions(-) > > -- > 2.17.1 >