From patchwork Wed Oct 11 10:15:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115543 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574677qgn; Wed, 11 Oct 2017 03:16:30 -0700 (PDT) X-Received: by 10.99.120.204 with SMTP id t195mr14869429pgc.244.1507716990046; Wed, 11 Oct 2017 03:16:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716990; cv=none; d=google.com; s=arc-20160816; b=YOQYi/0FhSGu5TMF28o51h8peGRUMg715gLlMe2McSk4tbC6VWl6SzD49w0ZVTyDzI IWQB9OUnakNv3lW6wyK93bu21Si09GIbaVE6lPDmFoZdjNEUEGxkxblpN+UFGIEidVta qh3BqWNAnthM9Wnzx7zKzYGb8YUnIdtZCcmvnRhhWqsCrQFGi4WCbiFDGHoglB+UIe2/ fSkjpuJhNgNdf1SAq6ls1NZlvRh5YyrtQB9zu2LpvoJJTTMxCGHSVb/oKxbs65Y3e6y5 WYhSj6VUApAmwmdFzIWbYic4xb7Lr0MT8/aGG5h1z+u/nuZOJF9YG+Bly0Mjf6+O6YyR y1kA== 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=n5JQJ+GQBUmBhR5RK+BgMt/wAnAsbvjxtCecLv5iQb4=; b=xFPkrySFsz6TyVnVHwV5DeaDPBitFUn+KXwMuk9ArYTN+RbxVf3SczH0suGcgiOQur uf28HfsROqd6tsebiF5WkcuC8kh5kwxiO+AWDdUPOvSrkFf9f44w6W8UtSY+aWKUALZt neAPWzGnOlIABQalmCTySgD14l+/5PqMs+1YHAb6VFhknNADhRuNqbexwvXfbzFNxgtY YQ25p21/R/hVZKUBcxU7WA0evlgKwGug17K5aUaNjd7xy46vq/qGk3DpObjbKix3lt04 CMcVZYsLA1RqgKdmRGjWfbwtSur4fRqLMslQiPuYv2QZ8Ar54TikC7gxoBfZR8YlqjXB PMRA== 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=o/iRPDuN; 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 s18si9708089pgq.333.2017.10.11.03.16.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:30 -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=o/iRPDuN; 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 3CC6E21FCA270; Wed, 11 Oct 2017 03:12:47 -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::22d; helo=mail-lf0-x22d.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 01C8C21FCA26D for ; Wed, 11 Oct 2017 03:12:45 -0700 (PDT) Received: by mail-lf0-x22d.google.com with SMTP id a16so1500348lfk.0 for ; Wed, 11 Oct 2017 03:16:14 -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=POj5weXKwfA+/p7iQaRlOOoa7CzAGD191BV9H6yL8b0=; b=o/iRPDuNZNeBGqE53GWyZAajaA1LBBCib/8Otw3SW8glpoVMzdbuodzZjRTlKELSku oqWgsBzSlMvsXOpCM8ldrSx16Jd0XIfLU2yIHJWHv8GD0at2jt7yzotOsYtR3Qd+meAW 7eI83Wx6sQLPkMC0V72c4jIMJrSazRdS0/cN0YB95x7PNmqB5pC04ftZsFWfARb0z2wm 0nv0+uzrY1yUQPiwZNh1PNYQ298du++4XlPrUlX3YwJYct3cIdw0dA5Xv94SFpliyToy yXjf+NLcWF/3RozKVGu4om3zu41oqCCBHhAQdIi4CHSPl6zZicsERdluq4cHb3C6Qh1m OFDQ== 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=POj5weXKwfA+/p7iQaRlOOoa7CzAGD191BV9H6yL8b0=; b=AeCxSWfs98OsyjQU7LhNMWJzezcfXJ5Q9mVT1GGcd7wNqt63F+Cw3FxBMdLk+Q83ld F/qX0t7xx6YX1wsAnRW8Y20E/eYFLq9lsRzHV5b301oqbkFWBZAO1imbsELJHpgUcTlw rtyWlp0zKeD3Zlvt2+Kkltjq2huS0dlTlP+fQ9fCv8TMhJypowElYvJPQdFh2kusNQGO jZl481oBcZ2yq1jrKwrnce82vvo6SdE/RNScyXa/Svum8Tsg8AmTtx3bnaHODRde48Er vK1ohjFlumWxHHBS7S7xb4Dtt7WXiwtr25BEbeURp3i43BSGCKPclBW4WjScFVXPLMLw Rx/Q== X-Gm-Message-State: AMCzsaUKh1E1whjL7cwn73bzaalR8aj+D0lT7wj5Z3WrY5cbnWUb7s83 zJYBRuXvYydPjJTYlUMiOog5wjdusdI= X-Google-Smtp-Source: AOwi7QA/5RqRhaJYcGxLJElcME6kkytZ/aEbKl9+u0n3RXZBjrP9HYGDUpWZ6oP1kbGNAcYw/wk8rg== X-Received: by 10.25.161.208 with SMTP id k199mr6039665lfe.110.1507716972254; Wed, 11 Oct 2017 03:16:12 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:11 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:37 +0200 Message-Id: <1507716939-31798-11-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 10/12] 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(-) -- 2.7.4 _______________________________________________ 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..3f0471d 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]