u-boot/arch
Pali Rohár 786d9f1a82 powerpc: mpc85xx: Add support for generating QorIQ pre-PBL eSDHC boot sector
QorIQ U-Boot binary for SD card booting compiled during build process
(either u-boot.bin or u-boot-with-spl.bin) cannot be directly loaded by
QorIQ pre-PBL BootROM. Compiled U-Boot binary first needs to be processed
by Freescale boot_format tool as described in doc/README.mpc85xx-sd-spi-boot

BootROM requires that image on SD card must contain special boot sector.
Implement support for generating this special boot sector directly in
U-Boot start code. Boot sector needs to be at the beginning of the image,
so when compiling only proper U-Boot without SPL then it needs to be in
proper U-Boot. When compiling SPL with proper U-Boot then it needs to be
only in SPL.

Support can be enabled by a new config option FSL_PREPBL_ESDHC_BOOT_SECTOR.
Via other two additional options FSL_PREPBL_ESDHC_BOOT_SECTOR_START and
FSL_PREPBL_ESDHC_BOOT_SECTOR_DATA it is possible to tune how final U-Boot
image could be stored on the SD card.

Signed-off-by: Pali Rohár <pali@kernel.org>
2022-07-29 19:49:13 +08:00
..
arc zynqmp: Run board_get_usable_ram_top() only on main U-Boot 2022-07-26 08:23:54 +02:00
arm ARM: relocate: Fix Thumb code by using proper label type 2022-07-26 17:53:43 -04:00
m68k zynqmp: Run board_get_usable_ram_top() only on main U-Boot 2022-07-26 08:23:54 +02:00
microblaze zynqmp: Run board_get_usable_ram_top() only on main U-Boot 2022-07-26 08:23:54 +02:00
mips mips: mtmips: add two reference boards for mt7621 2022-07-13 23:03:37 +02:00
nios2 linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
powerpc powerpc: mpc85xx: Add support for generating QorIQ pre-PBL eSDHC boot sector 2022-07-29 19:49:13 +08:00
riscv zynqmp: Run board_get_usable_ram_top() only on main U-Boot 2022-07-26 08:23:54 +02:00
sandbox watchdog: add pulse support to gpio watchdog driver 2022-07-21 08:09:06 +02:00
sh linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
x86 zynqmp: Run board_get_usable_ram_top() only on main U-Boot 2022-07-26 08:23:54 +02:00
xtensa xtensa: Switch to using CONFIG_XTENSA for building device trees 2022-06-28 17:03:31 -04:00
.gitignore
Kconfig nxp: Rename board/freescale/common/Kconfig to arch/Kconfig.nxp 2022-07-05 17:03:02 -04:00
Kconfig.nxp Convert CONFIG_SYS_FSL_CPC et al to Kconfig 2022-07-07 14:01:09 -04:00
u-boot-elf.lds