From patchwork Fri Mar 16 16:13:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 131935 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp939888ljb; Fri, 16 Mar 2018 09:13:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELtGjG6q5OMgCEfIFuWautgCU45J4keSsEhpQpANb3qPam+7oelyYbh1X3OqZDfV1mWsebeM X-Received: by 2002:a17:902:bc04:: with SMTP id n4-v6mr2727112pls.97.1521216826566; Fri, 16 Mar 2018 09:13:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521216826; cv=none; d=google.com; s=arc-20160816; b=IxMXIQ/m1cLG6f3Uxn8155SVHGtI8JjItUgZF2Z8/EJ7EQDnA2l0BVbX4a6iATVxoN rchAwKGuNP23FLBn7bXbahuxEJMoHgvMJAe00wBd/IrIry3H0cCen/BivvgBnr/taHwY o8OoSAaI/ZEfhfTISxdmQecglhm+a1igmZ52J2ZtT1F4gIByZaXEw6Xh45tUVoPw/QVf r5h7KEhp4RZoJe0fRhCEB6j0Xrq20/ysrq5BnXtH+kKF3nXiCoaopM10dftTOS4FTqki i06P9bXAoB0umgmHe4gjibiIgWZhDdIi+DyidmfL0GJqjeUA+V5RB/tHKDj+FuY0oxKr ay2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=TnPcz0Gf47Be3MjsWcvLdGaoCiB8tbuUg4uPQjeCRr4=; b=XZsZyu2cc6xvFif68fFWt5i16+G5uU3pNgbL4QMbm9IOpy8LPbEF/G4N2wyQRC8Pj2 V2XFlS4Mac7/wveiE1QocuoXZTOPwjqHLER8z0eB350912veAW0F4V1ij8LFGiPRVh0N Laq7qnek2AdLM3Pbp3XWRK7Fr8gqMdIMlbsY97akBnJ+rajVQBeGA5QrK/gOIP3LMfng XcFy+v/qyOQz9M3qrvkAqOY4qg9fxPZ/vbnwUUNl1UOB0pDjn8Y3rfviMfsj851T0O7B NGeNmBzPA12REnpFpun64CvCtrgcL5sXdMqP8DaJyqf1gZfAidNr72qIhXcVKmMTPhGv 0q6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jChW1N09; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id z1-v6si4036563pll.302.2018.03.16.09.13.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 09:13:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jChW1N09; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2B47422489C90; Fri, 16 Mar 2018 09:07:17 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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 F0BFC20954B86 for ; Fri, 16 Mar 2018 09:07:14 -0700 (PDT) Received: by mail-wr0-x241.google.com with SMTP id s18so12206070wrg.9 for ; Fri, 16 Mar 2018 09:13:40 -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=UvgEDsDYCRNbKbBTtx/lwSC50yJMhxlnVB6nwljwR+A=; b=jChW1N09J1yVgRMpjaDMrT/6USAn2zTo9OX3if38RPqFNj6yBNi7vS5q9CAW+3IQEC DO9g4U5B3FNAZMy+lQODsUkHLpAjugfWBTUoIJTj9qrklhpeypwCPyRgxQnq4MQOLI5v f2fs71FUKHYVfZ7VhNj2CxeevF4ZBvcZnQMMo= 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=UvgEDsDYCRNbKbBTtx/lwSC50yJMhxlnVB6nwljwR+A=; b=CF8oZvWCzjTKBhFeL5CDH7DEiW92AcR7xkvtVojer6r6SyKRC3lOjNj0GFXGhbP4zq 5BA/uS33J6UnYDNFdc2NCR68ZPZeQZPa7rYMYXOHc57bDNOdmq59HaC9sSLyLrbmlf/U 3cXzAQ0gY/zxWXGbIHFnxS5WpPWNtkIvPNkwS72NzegWOJ8Qrojlbs8uGx2Vuoki1bjM eTWSWQGiWNAGbhDj0VJQb/ft8GjfvTTTFq2Gmh2JtfWjPrs+DetwKDXn5UqmKnhZvoj+ IZC98hv8toFMGJOPC9k34IJs4e0PLPyp+2jNz8j5jtsYdYQbXuFm21wVnwakbUz7nSS2 wA4Q== X-Gm-Message-State: AElRT7E+MQiY+RJrdjELkcOWjhtrtvGNdGpUf2mP4oySbEhfTvjpWA7M 0UwfbjEBLkQTmx5jfiBelSNV2XhlOLs= X-Received: by 10.223.183.193 with SMTP id t1mr2060192wre.168.1521216818702; Fri, 16 Mar 2018 09:13:38 -0700 (PDT) Received: from localhost.localdomain ([105.142.191.63]) by smtp.gmail.com with ESMTPSA id n8sm7876242wrf.12.2018.03.16.09.13.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 09:13:37 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Fri, 16 Mar 2018 16:13:21 +0000 Message-Id: <20180316161322.6756-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180316161322.6756-1-ard.biesheuvel@linaro.org> References: <20180316161322.6756-1-ard.biesheuvel@linaro.org> Subject: [edk2] [RFC PATCH edk2-platforms 5/6] TEMPORARY X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Needed to make change to capsule footprint installable via capsule update. Will be reverted in next patch, and will be squashed together before going upstream. --- Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c | 4 ++-- Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.15.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c b/Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c index 816d8ba33f8c..cd6ab582fdc5 100644 --- a/Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c +++ b/Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c @@ -23,8 +23,8 @@ STATIC NOR_FLASH_DESCRIPTION mNorFlashDevices[] = { { // UEFI code region SYNQUACER_SPI_NOR_BASE, // device base - FixedPcdGet64 (PcdFdBaseAddress), // region base - FixedPcdGet32 (PcdFdSize), // region size + 0x8100000, //FixedPcdGet64 (PcdFdBaseAddress), // region base + 0x300000, //FixedPcdGet32 (PcdFdSize), // region size SIZE_64KB, // block size { 0x19c118b0, 0xc423, 0x42be, { 0xb8, 0x0f, 0x70, 0x6f, 0x1f, 0xcb, 0x59, 0x9a } diff --git a/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c b/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c index 1402ecafce4a..963d568e43df 100644 --- a/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c +++ b/Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.c @@ -57,8 +57,8 @@ STATIC CONST EFI_RESOURCE_ATTRIBUTE_TYPE mDramResourceAttributes = STATIC CONST ARM_MEMORY_REGION_DESCRIPTOR mVirtualMemoryTable[] = { // Memory mapped SPI NOR flash - ARM_CACHED_DEVICE_REGION (FixedPcdGet64 (PcdFdBaseAddress), - FixedPcdGet32 (PcdFdSize)), + ARM_CACHED_DEVICE_REGION (0x8100000,//FixedPcdGet64 (PcdFdBaseAddress), + 0x300000),//FixedPcdGet32 (PcdFdSize)), // SynQuacer OnChip peripherals ARM_DEVICE_REGION (SYNQUACER_PERIPHERALS_BASE,