From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com, jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com 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: [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: , X-List-Received-Date: Mon, 09 Oct 2017 16:50:52 -0000 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(-) 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] -- 1.8.3.1