[U-Boot] [PATCH 02/12 v2] arm: at91: spl_at91.c: Call spl_early_init() if OF_CONTROL is enabled

Heiko Schocher hs at denx.de
Fri Mar 29 10:15:43 UTC 2019


Hello Stefan,

Am 26.03.2019 um 13:16 schrieb Stefan Roese:
> 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 at denx.de>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Andreas Bießmann <andreas at biessmann.org>
> Cc: Eugen Hristev <eugen.hristev at microchip.com>
> ---
> v2:
> - No change
> 
>   arch/arm/mach-at91/spl_at91.c | 10 ++++++++++
>   1 file changed, 10 insertions(+)

Reviewed-by: Heiko Schocher <hs at denx.de>
Tested on the taurus board:
Tested-by: Heiko Schocher <hs at denx.de>

Yes ... smartweb board ... The problem is, I have there only 4k
for SPL ... no chance for DM nor DTS ...

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list