linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Geoff Levand <geoff@infradead.org>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: [PATCH v1 2/2] powerpc/ps3: Re-align DTB in image
Date: Tue, 16 Mar 2021 17:51:07 +0000	[thread overview]
Message-ID: <7bee1153671a3ec71775246887894eefbfcb4b25.1615916650.git.geoff@infradead.org> (raw)
In-Reply-To: <cover.1615916650.git.geoff@infradead.org>

Change the PS3 linker script to align the DTB at 8 bytes,
the same alignment as that of the of the 'generic' powerpc
linker script.

Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 arch/powerpc/boot/zImage.ps3.lds.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/boot/zImage.ps3.lds.S b/arch/powerpc/boot/zImage.ps3.lds.S
index 7b2ff2eaa73a..d0ffb493614d 100644
--- a/arch/powerpc/boot/zImage.ps3.lds.S
+++ b/arch/powerpc/boot/zImage.ps3.lds.S
@@ -8,7 +8,7 @@ SECTIONS
   .kernel:vmlinux.bin : { *(.kernel:vmlinux.bin) }
   _vmlinux_end =  .;
 
-  . = ALIGN(4096);
+  . = ALIGN(8);
   _dtb_start = .;
   .kernel:dtb : { *(.kernel:dtb) }
   _dtb_end = .;
-- 
2.25.1


  reply	other threads:[~2021-03-16 17:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16 17:51 [PATCH v1 0/2] PS3 Updates Geoff Levand
2021-03-16 17:51 ` Geoff Levand [this message]
2021-03-16 17:51 ` [PATCH v1 1/2] powerpc/ps3: Add firmware version to proc Geoff Levand
2021-06-04 15:58 ` [PATCH v2 0/2] PS3 Updates Geoff Levand
2021-06-04 15:58   ` [PATCH v2 1/2] powerpc/ps3: Add firmware version to sysfs Geoff Levand
2021-06-04 15:58   ` [PATCH v2 2/2] powerpc/ps3: Re-align DTB in image Geoff Levand
2021-06-18  3:51     ` Michael Ellerman
2021-06-18  3:51   ` [PATCH v2 0/2] PS3 Updates Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7bee1153671a3ec71775246887894eefbfcb4b25.1615916650.git.geoff@infradead.org \
    --to=geoff@infradead.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).