]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: spl: Allow device tree/driver model in board_init_f()
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:39:10 +0000 (15:39 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:54 +0000 (13:48 +0200)
commit06a4e2667c31d5419aaba6721de0ff91e069c5dc
tree8a6023024382a7b13bbed9c4da83e3bfe6170d81
parent70e1788a3dec43ea75a8e90671d689afa9a98789
dm: spl: Allow device tree/driver model in board_init_f()

Add an spl_init() function that does basic init such that board_init_f() can
use simple malloc(), device tree and driver model. Each one is set up only
if enabled for SPL.

Note: We really should refactor SPL such that there is a single
board_init_f() and rename the existing weak board_init_f() functions
provided by boards, calling them from the single board_init_f().

Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c
include/asm-generic/global_data.h
include/spl.h