]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: xea: Modify board code to generate single binary u-boot
authorLukasz Majewski <lukma@denx.de>
Mon, 27 Dec 2021 10:38:21 +0000 (11:38 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:39 +0000 (13:38 +0100)
commit8bba8954b1b6a155bf944b545ec9461fb2505e93
tree5cf18ebb93b22844ec003f0a797cfdbc82d5bc12
parent014315b2d81a0ad1600d9dcdb51cf14a952eff41
arm: xea: Modify board code to generate single binary u-boot

This change provides the possibility to build XEA (imx287 based) board
U-Boot as a single binary (without support for CONFIG_SPL_FRAMEWORK).

The generated u-boot.sb can be used in the factory environment to for
example perform initial setup or HW testing.

It can be used with 'uuu' utility
(SDPS: boot -f /srv/tftp/xea/u-boot.sb)

In the configs/imx28_xea_defconfig one needs to disable following configs:
# CONFIG_SPL_BLK is not set
# CONFIG_SPL_FRAMEWORK is not set

The board_init_ll() is used in arch/arm/cpu/arm926ejs/mxs/start.S, which
is utilized when CONFIG_SPL_FRAMEWORK is disabled.

However, when it is enabled - the arch/arm/cpu/arm926ejs/start.S is used,
which requires the lowlevel_init() function.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
board/liebherr/xea/spl_xea.c
board/liebherr/xea/xea.c