powerpc/ps3: Re-align DTB in image
authorGeoff Levand <geoff@infradead.org>
Fri, 4 Jun 2021 15:58:25 +0000 (15:58 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 11:44:57 +0000 (21:44 +1000)
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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/245897ed65e402686a4b114ba618e935cb5c6506.1622822173.git.geoff@infradead.org
arch/powerpc/boot/zImage.ps3.lds.S

index 7b2ff2eaa73a61179ea795b14981cd7f11fa9e54..d0ffb493614d5351a6cf6f580b40b6ae464f7efa 100644 (file)
@@ -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 = .;