arm: mvebu: Add support for generating PEX kwbimage
authorPali Rohár <pali@kernel.org>
Tue, 10 Jan 2023 22:09:15 +0000 (23:09 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Mar 2023 05:39:17 +0000 (06:39 +0100)
commit50afad55733a967accf83b2eb662e83e5c6fb107
tree8d1f5dbdf1db60717e25edea104205bb85950bc1
parent67bd6158d49ffe62e610e2a2706720275dfe10cb
arm: mvebu: Add support for generating PEX kwbimage

Add a new Kconfig option CONFIG_MVEBU_SPL_BOOT_DEVICE_PEX which instruct
make to generate kwbimage with PEX header. This image is used for booting
from PCI Express device which is in the Root Complex mode.

Support is very simple, SPL after finishes DDR training returns back to the
BootROM (via CONFIG_SPL_BOOTROM_SUPPORT option) and BootROM then start
executing U-Boot proper.

Signed-off-by: Pali Rohár <pali@kernel.org>
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-mvebu/Makefile