]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:28 +0000 (17:39 -0600)
commit070d00b8dc8453b8c2f12d74551919cf2b124136
tree824056b80d281291279fdb9b142fdf5ba528b86f
parentcb5f97f70766fdabc90847bbbc25eb759b2b4797
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