commit | fa2a4db5ba7eb9fb657185e65236dd6726f88185 | [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 | 63884ec7bdd57dfdd01dcdef560f16c0e90659a7 [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>