microblaze: Fix built-in DTB alignment to be 8-byte aligned microblaze-v5.12
authorRob Herring <robh@kernel.org>
Sat, 13 Feb 2021 01:16:24 +0000 (19:16 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 16 Feb 2021 06:43:36 +0000 (07:43 +0100)
commit48783be427c70a377c83a17d045eee98c90220da
treebc20f391a48f1f549fb765b5b82dbc9a63ef286b
parentb68c8736a01f5eb21e4c2461f7c3c505e845e6ab
microblaze: Fix built-in DTB alignment to be 8-byte aligned

Commit 79edff12060f ("scripts/dtc: Update to upstream version
v1.6.0-51-g183df9e9c2b9") broke booting on Microblaze systems depending on
the build. The problem is libfdt gained an 8-byte starting alignment check,
but the Microblaze built-in DTB area is only 4-byte aligned. This affected
not just built-in DTBs as bootloader passed DTBs are copied into the
built-in DTB region.

Other arches using built-in DTBs use a common linker macro which has
sufficient alignment.

Fixes: 79edff12060f ("scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210213011624.251838-1-robh@kernel.org
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/vmlinux.lds.S