[U-Boot] [PATCH v3 48/54] dm: spl: Allow device tree/driver model in board_init_f()

Simon Glass sjg at chromium.org
Sat Jul 18 01:58:05 CEST 2015


On 23 June 2015 at 15:39, Simon Glass <sjg at 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 at 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.


More information about the U-Boot mailing list