commit | 070d00b8dc8453b8c2f12d74551919cf2b124136 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jun 23 15:39:10 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 21 17:39:28 2015 -0600 |
tree | 824056b80d281291279fdb9b142fdf5ba528b86f | |
parent | cb5f97f70766fdabc90847bbbc25eb759b2b4797 [diff] |
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>