]> git.baikalelectronics.ru Git - uboot.git/commit
arm: at91: spl_at91.c: Call spl_early_init() if OF_CONTROL is enabled
authorStefan Roese <sr@denx.de>
Tue, 2 Apr 2019 08:57:16 +0000 (10:57 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 9 Apr 2019 06:28:50 +0000 (09:28 +0300)
commite1cb39e6ffbf615d92fa7d445c0455a76758f984
tree8bf1278131baf322e614bef9fe3eeb5a4fadd693
parentdc4ab42657c86363964033817b097632841c8ee6
arm: at91: spl_at91.c: Call spl_early_init() if OF_CONTROL is enabled

This patch adds a call to spl_early_init() to board_init_f() which is
needed when CONFIG_SPL_OF_CONTROL is configured. This is necessary for
the early SPL setup including the DTB setup for later usage.

Please note that this call might also be needed for non SPL_OF_CONTROL
board, like the smartweb target. But smartweb fails to build with this
call because its binary grows too big. So I disabled it for these kind
of targets for now.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Andreas Bießmann <andreas@biessmann.org>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested on the taurus board:
Tested-by: Heiko Schocher <hs@denx.de>
arch/arm/mach-at91/spl_at91.c