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::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 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: 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: [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: , X-List-Received-Date: Wed, 11 Oct 2017 10:12:45 -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..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] -- 2.7.4