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:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 44B4D2115F502 for ; Thu, 7 Jun 2018 08:08:27 -0700 (PDT) Received: by mail-wr0-x241.google.com with SMTP id v13-v6so10226940wrp.13 for ; Thu, 07 Jun 2018 08:08:27 -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=qftvnWJd8WddoUOJW4CbekJoVHOY7IuMk9+a81QKZ9o=; b=Mr0Aabx5hzFvzvg+iz9o7MAv/cx09uhM7P8TvHV+6Wj1yGY6w3LAkwqHtgz87AV4SK NZYK3ZzXtQ4X+r7uQ2Y+OTKWWo94yu5yJiwbofIZfeeCXmcoBEZj96bULGIO0982oEDl HD+lyva2Rt2r/5KSgtk+UBIuOHtID8onHqTX8= 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=qftvnWJd8WddoUOJW4CbekJoVHOY7IuMk9+a81QKZ9o=; b=kzn5RIEEis/J7UPJ3ZdaZbkkGVeEZ75MM5s/SLISsLJKYolttn7ou4Ox91kVA+6prJ 3I9unJKqUzqqReZ0N9OyIE1AnREH1m1J3ESKmK9X87c+S7NQPTxxopUSVFivRI6FzfzO TkplAevP282DR0PZRwbUY/VS86JeLpKWb4vIP1/pGM+AZ2sYxY9zXuG4cyEgjtyEb5fs T+HT0eacQHqKHSNP/u1rVjFo7AUe7zIVVHA0w5LX/e+zRMG1NTONu7uVkVH8q9RQ36xe 4KQlp3D2CJJ1HvdJi7Nta3/XgmCyZSpqoEDroBgKocEUKUPbufd205OFajpW8O4gsJzP rf7w== X-Gm-Message-State: APt69E1lErHgKvAS3U7IuIXo3Fdh5nzklEU4m11xdMh1G/BwYtSaORQ+ rwBMpUcLHF/zIkY5tPP0QiHe6Ujgalo= X-Google-Smtp-Source: ADUXVKK2UQ1CBxFs9YxMd/l3TQyXyrHZGzqk0unG9uvLLQWm5Fu74v+lKLOFdiG8yt+NK9nuiCKe5A== X-Received: by 2002:adf:a319:: with SMTP id c25-v6mr1907411wrb.189.1528384105687; Thu, 07 Jun 2018 08:08:25 -0700 (PDT) Received: from dogfood.home (LFbn-NIC-1-75-91.w2-15.abo.wanadoo.fr. [2.15.165.91]) by smtp.gmail.com with ESMTPSA id v14-v6sm27935985wro.33.2018.06.07.08.08.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 08:08:24 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, Ard Biesheuvel Date: Thu, 7 Jun 2018 17:08:18 +0200 Message-Id: <20180607150818.14393-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180607150818.14393-1-ard.biesheuvel@linaro.org> References: <20180607150818.14393-1-ard.biesheuvel@linaro.org> Subject: [PATCH edk2-platforms 2/2] Silicon/NorFlashSynQuacerLib: describe entire firmware region as FV 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: Thu, 07 Jun 2018 15:08:27 -0000 In order to allow for more flexibility when updating parts of the firmware via capsule update, expand the description of the code FV to cover the entire 4 MB region at the base of the NOR flash. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c b/Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c index 816d8ba33f8c..357082c3d903 100644 --- a/Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c +++ b/Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c @@ -23,8 +23,9 @@ STATIC NOR_FLASH_DESCRIPTION mNorFlashDevices[] = { { // UEFI code region SYNQUACER_SPI_NOR_BASE, // device base - FixedPcdGet64 (PcdFdBaseAddress), // region base - FixedPcdGet32 (PcdFdSize), // region size + SYNQUACER_SPI_NOR_BASE, // region base + FixedPcdGet32 (PcdFlashNvStorageVariableBase) - + SYNQUACER_SPI_NOR_BASE, // region size SIZE_64KB, // block size { 0x19c118b0, 0xc423, 0x42be, { 0xb8, 0x0f, 0x70, 0x6f, 0x1f, 0xcb, 0x59, 0x9a } -- 2.17.0