]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
u-boot: add support for full image socfpga mkpimage
authorLionel Flandrin <lionel@svkt.org>
Mon, 13 Feb 2017 15:33:29 +0000 (16:33 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Mar 2017 21:28:21 +0000 (22:28 +0100)
commit9ee5978a91ba905340196136e13ed223277bb209
tree832f6050637f5740485d3b271c0c6fcba3009e93
parentfff0732af075a2318766f30c1c84a6405325a24e
u-boot: add support for full image socfpga mkpimage

On older SoCFPGA SoCs, there was not enough SRAM to fit the entire
U-Boot, so a SPL model was used. The SPL was therefore the binary that
had to be "prepared" to be loaded by the ROM code using the mkpimage
tool.

With newer SoCFPGA SoCs, there is enough SRAM to fit the entire U-Boot,
and therefore the ROM code directly loads U-Boot. In this case, it's the
real U-Boot image (not the SPL) that needs to be prepared using
mkpimage.

This code adds support for the newer SoCFPGA SoCs, by adjusting the
mkpimage related logic to apply on the SPL if an SPL is enabled, or on
the full U-Boot image otherwise.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/uboot/Config.in
boot/uboot/uboot.mk