]> git.baikalelectronics.ru Git - uboot.git/commit
powerpc: mpc85xx: Fix loading U-Boot proper from SD card in SPL
authorPali Rohár <pali@kernel.org>
Fri, 5 Aug 2022 20:09:40 +0000 (22:09 +0200)
committerMarek Behún <kabel@kernel.org>
Fri, 16 Sep 2022 15:39:45 +0000 (17:39 +0200)
commitac490bea833832ae6c7a8ab327df03e8a218d61e
treeaee4e39db7879d5edc940d5b73a3bfc2f39f26ee
parenta5c133c9940a3c3154e7edbbd68a21f2c71b0753
powerpc: mpc85xx: Fix loading U-Boot proper from SD card in SPL

Change 8-byte alignment of SPL binary to just 4-byte alignment as objcopy
trims trailing zero bytes when converting ELF file to RAW binary.

This is same fix for SPL linker script as was done fix for U-Boot linker
script in commit b0cae0c38545 ("powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE
support").

It is required for the patch "mmc: fsl_esdhc_spl: Add support for builds
without CONFIG_SYS_MMC_U_BOOT_OFFS" which triggered this issue in SPL.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
arch/powerpc/cpu/mpc85xx/u-boot-spl.lds