[U-Boot] [U-Boot 0/2] add spl_early_init to fix rk3288 board broken issue

Eddie Cai eddie.cai.linux at gmail.com
Mon Mar 6 07:03:37 UTC 2017


Hi Simon
I guess you may lost this patch. So a friendly ping.

2017-02-23 9:59 GMT+08:00 Eddie Cai <eddie.cai.linux at gmail.com>:

> Andrew F. Davis's below patch broke rk3288 based board. that is because we
> call
> spl_init in board_init_f which is at very early stage. What Andrew want to
> fix
> is calling spl_init very late. That patch will make malloc_base, limit,
> ptr not
> initualized in spl_init when we call spl_init in board_init_f. This patch
> set
> add spl_early_init. it can be called in board_init_f. So we can fix this
> issue
> by using spl_early_init.
>
>         commit b3d2861eb20a795b99292b823c923935df26dfc6
>         Author: Andrew F. Davis <afd at ti.com>
>         Date:   Fri Jan 27 10:39:19 2017 -0600
>
>             spl: Remove overwrite of relocated malloc limit
>
> Eddie Cai (2):
>   spl: add spl_early_init
>   rockchip: use spl_early_init instead of spl_init
>
>  arch/arm/mach-rockchip/rk3288-board-spl.c |  2 +-
>  common/spl/spl.c                          | 54
> ++++++++++++++++++++++++++-----
>  include/asm-generic/global_data.h         |  1 +
>  include/spl.h                             | 12 ++++++-
>  4 files changed, 59 insertions(+), 10 deletions(-)
>
> --
> 2.7.4
>
>


More information about the U-Boot mailing list