From patchwork Mon Oct 9 17:01:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115275 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2766235qgn; Mon, 9 Oct 2017 09:54:38 -0700 (PDT) X-Received: by 10.99.67.193 with SMTP id q184mr9503910pga.56.1507568078681; Mon, 09 Oct 2017 09:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507568078; cv=none; d=google.com; s=arc-20160816; b=oOCxjv2sgyXi/NmhbgZP7ttqrR34xfQNeyIvULz4DfsaHlt3bRdyV5Eo5kWkDO0SKe HIKwrAT1RN7t8gc0+Gd12jIHaWl9blk+qMvEJgK69z18Jm2Gdh4YTYPLz9qBYHh/1oaT MQ2Ku+AnI31POEDHmDTFWjEor2Yfw/tQOP/0nfeO4E1tVDP5JQBLCMGGNzDG3gCOb8m8 RZnJfHX0npxYscayEv2sRhsMXetw0BD0tSDU1xmOA5XVh/JOPccfEbEm8rS6yfZ0k5sY 6WoGz4fjRCBvoLCjnphVhVbb5F5TAa8yRTxQ5csKDgTCqxOFhy2nbaAUdLuy4CtCF2ZD 06cA== 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=XG2n6hgI5RFXTo16hOQYKrdP+/FLiGcv9ho+KuOa2XM=; b=SkzXoRPUIHcZRTZ4PqK7HmM/McsqJblJXLdQ8fuJ9W0/0KGsLv6SWsncS/JvoE8udQ qe7P+OT0ixEb/5bptBWmqu5K2z3TIMBAu0e56z5XX/bHK65VgBcoih3ETmjZoySW3aVy ECfD4Zayp6l2KGA2LDYKeoG2punykXMVYgyvzY7Hfcunl+nJlPpYhsXU51yP477f353V zAbz/7RfpCob3cZZN0w2oLpsqzMqOu9XcFCDmfdVN4d/lkl32+cxlOx+fIgmPp3mi6Zi sLf+qaHhzUd14ff0e9YAa4KOK+YDXjo7YCtwffTpweI3UdD/vk8m8TAhetU1jzlYGqn2 +Dpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=eqBOLVKm; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id u2si7519571plj.530.2017.10.09.09.54.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 09:54:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=eqBOLVKm; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D7D3521F3C186; Mon, 9 Oct 2017 09:50:53 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::22e; helo=mail-lf0-x22e.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (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 DDB6821F3C189 for ; Mon, 9 Oct 2017 09:50:51 -0700 (PDT) Received: by mail-lf0-x22e.google.com with SMTP id n69so198353lfn.2 for ; Mon, 09 Oct 2017 09:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iGLRvlevdljkjDDJY1CPFfrsXsWqLPDbEjJMzwxx5yo=; b=eqBOLVKmZInEYIqeXrPTv8fs4uIROvcwLH8m39ftqLKpbDsZjh0+Vfrl0wTTrBYY10 lICrC13W1804Ttj/876nyt7ArMPAMUpMejs/qITi7wjBNmxMw0Kc6W8S2aUfIYtYWRW1 Q7bKqaW6ctAnNdRw073FhOvxXt9dfZQt/lL8y6duq2IAV7Wthxi8udVAXXaXThPHhjbt mSVVe38t3lubXpYw8sQD62SFzemGLBKbTPatG+hhrJDTuTDhd3ifA6kgo/F+odrbT/mE Uty5psJsfuVGtn97dqpCZbEoeChT5WHbBrFhtA/Lnw5E+KbQsWYN/OLLv4ebmbe6D+XJ lU+Q== 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=iGLRvlevdljkjDDJY1CPFfrsXsWqLPDbEjJMzwxx5yo=; b=mLvZvL4Z9DBH4/jKGaE3YYBRLs0Frr6VflGrpkQlpKPwrjSUG+jFb3ndaSFMmhAP58 bMYBP+LIyOMaNBbtcAA5UujqXqxX2mCZGHKR65JXBrVbYGa0xgoIAtrswKsvjIylzZEs t/j7VntwdGg0qnO5zYxHOOIISzExKxJdK1Y+wep3Fo3lQwdeeyHKx+QNBUmTSTEntbeQ VlNNly9VflyxOusdA7Gv39joWSdq5S6nCgARrLTt+JMKME4bq1Ys15zM3Ii8uAHqHu/J jJF4Fgz6n6jCr1Yp8j0tC/IDdGvhWhFHYL3hp1lNagR2z3auyLn9UoksbU2BS6E1cpkA A/QQ== X-Gm-Message-State: AMCzsaVszLoJjgl8flLr2QjfJe2vc5NqWw1/WROoTtv9qdgN6gP36Ylt 8ALPy4+JSnYH+xfWGz976uL0KAvf3x0= X-Google-Smtp-Source: AOwi7QAW3Ow25/eCGV5uKPxA2W42NtdEGdMmzi6moxFReFkm3xVt5fbCOUg33o6vCNqYjHMUGsGDHA== X-Received: by 10.46.58.2 with SMTP id h2mr2975785lja.132.1507568057323; Mon, 09 Oct 2017 09:54:17 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id z204sm1421490lff.33.2017.10.09.09.54.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 09:54:16 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Mon, 9 Oct 2017 19:01:00 +0200 Message-Id: <1507568462-28775-12-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1507568462-28775-1-git-send-email-mw@semihalf.com> References: <1507568462-28775-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH 11/13] Marvell/Armada: Remove outdated SEC alignment override X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel The FDFs no longer require explicit alignment for sections containing aligned objects, so change it to 'Auto' and FIXED (which allows some padding to be removed), and remove some other cruft while at it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas --- Platform/Marvell/Armada/Armada70x0.fdf | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) -- 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index 2c3efe0..15ae52b 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -235,16 +235,9 @@ READ_LOCK_STATUS = TRUE # ############################################################################ -[Rule.ARM.SEC] - FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { - TE TE Align = 32 $(INF_OUTPUT)/$(MODULE_NAME).efi - } - -# The AArch64 Vector Table requires a 2K alignment that is not supported by the FDF specification. -# It is the reason 4K is used instead of 2K for the module alignment. [Rule.AARCH64.SEC] - FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { - TE TE Align = 4K $(INF_OUTPUT)/$(MODULE_NAME).efi + FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED FIXED { + TE TE Align = Auto $(INF_OUTPUT)/$(MODULE_NAME).efi } [Rule.Common.PEI_CORE]