
18 Jul
2015
18 Jul
'15
1:58 a.m.
On 23 June 2015 at 15:39, Simon Glass sjg@chromium.org wrote:
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
Changes in v3: None Changes in v2: None
common/spl/spl.c | 35 ++++++++++++++++++++++++----------- include/asm-generic/global_data.h | 1 + include/spl.h | 12 ++++++++++++ 3 files changed, 37 insertions(+), 11 deletions(-)
Applied to u-boot-dm.