From patchwork Tue Aug 2 09:23:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 3222 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AEAD323F3F for ; Tue, 2 Aug 2011 16:24:27 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 74D40A18529 for ; Tue, 2 Aug 2011 16:24:27 +0000 (UTC) Received: by qwb8 with SMTP id 8so5003071qwb.11 for ; Tue, 02 Aug 2011 09:24:27 -0700 (PDT) Received: by 10.229.241.19 with SMTP id lc19mr2712028qcb.45.1312302266370; Tue, 02 Aug 2011 09:24:26 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.6.73 with SMTP id 9cs128899qcy; Tue, 2 Aug 2011 09:24:25 -0700 (PDT) Received: by 10.68.28.225 with SMTP id e1mr10414281pbh.20.1312302264937; Tue, 02 Aug 2011 09:24:24 -0700 (PDT) Received: from VA3EHSOBE010.bigfish.com (va3ehsobe010.messaging.microsoft.com [216.32.180.30]) by mx.google.com with ESMTPS id h6si11462506pbc.75.2011.08.02.09.24.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Aug 2011 09:24:23 -0700 (PDT) Received-SPF: neutral (google.com: 216.32.180.30 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=216.32.180.30; Authentication-Results: mx.google.com; spf=neutral (google.com: 216.32.180.30 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: from mail199-va3-R.bigfish.com (10.7.14.244) by VA3EHSOBE010.bigfish.com (10.7.40.12) with Microsoft SMTP Server id 14.1.225.22; Tue, 2 Aug 2011 16:24:22 +0000 Received: from mail199-va3 (localhost.localdomain [127.0.0.1]) by mail199-va3-R.bigfish.com (Postfix) with ESMTP id 90090E60251; Tue, 2 Aug 2011 16:24:22 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bh8275dhz2dh87h2a8h668h839h63h) X-Spam-TCS-SCL: 2:0 X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPVD:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-DOMAIN-IP-MATCH: fail Received: from mail199-va3 (localhost.localdomain [127.0.0.1]) by mail199-va3 (MessageSwitch) id 1312302262388393_26225; Tue, 2 Aug 2011 16:24:22 +0000 (UTC) Received: from VA3EHSMHS026.bigfish.com (unknown [10.7.14.236]) by mail199-va3.bigfish.com (Postfix) with ESMTP id 3EEA5104804F; Tue, 2 Aug 2011 16:24:22 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by VA3EHSMHS026.bigfish.com (10.7.99.36) with Microsoft SMTP Server (TLS) id 14.1.225.22; Tue, 2 Aug 2011 16:24:21 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server id 14.1.289.8; Tue, 2 Aug 2011 11:24:20 -0500 Received: from ubuntu.ea.freescale.net ([10.214.137.140]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p72GOIt0006784; Tue, 2 Aug 2011 11:24:19 -0500 (CDT) From: Shawn Guo To: CC: , Nicolas Pitre Subject: [PATCH 1/4] ARM: zImage: ensure it is always a multiple of 64 bits in size Date: Tue, 2 Aug 2011 17:23:43 +0800 Message-ID: <1312277026-25782-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com From: Nicolas Pitre This is needed for proper alignment when the DTB appending feature is used. Signed-off-by: Nicolas Pitre Acked-by: Tony Lindgren --- arch/arm/boot/compressed/vmlinux.lds.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/compressed/vmlinux.lds.in b/arch/arm/boot/compressed/vmlinux.lds.in index 4e72883..6bfc9c8 100644 --- a/arch/arm/boot/compressed/vmlinux.lds.in +++ b/arch/arm/boot/compressed/vmlinux.lds.in @@ -51,6 +51,9 @@ SECTIONS _got_start = .; .got : { *(.got) } _got_end = .; + + /* ensure the zImage file size is always a multiple of 64 bits */ + .pad : { BYTE(0); . = ALIGN(8); } _edata = .; . = BSS_START;