[U-Boot] [PATCH v3 1/7] spl: fix assignment of board info to global data

Simon Glass sjg at chromium.org
Mon Oct 9 04:44:56 UTC 2017


On 28 September 2017 at 09:42, York Sun <york.sun at nxp.com> wrote:
> Commit 15eb1d43bf47 ("spl: reorder the assignment of board info to
> global data") intended to move assignment of board info earlier,
> into board_init_r(). However, function preload_console_init() is
> called either from spl_board_init() or from board_init_f(). For the
> latter case, the board info assignment is much earlier than proposed
> board_init_r(). Create a new function to fill gd->bd and call this
> function when needed.
>
> Signed-off-by: York Sun <york.sun at nxp.com>
> CC: Lokesh Vutla <lokeshvutla at ti.com>
> CC: Ravi Babu <ravibabu at ti.com>
> CC: Lukasz Majewski <lukma at denx.de>
> CC: Tom Rini <trini at konsulko.com>
>
> ---
>
> Changes in v3:
> Create new function to fill gd->bd for spl.
> Use git commit description style when mentioning previous commit.
>
> Changes in v2:
> New patch to fix spl after rebasing to latest master.
>
>  arch/arm/cpu/armv8/fsl-layerscape/spl.c |  1 +
>  common/spl/spl.c                        | 10 +++++++++-
>  include/spl.h                           |  1 +
>  3 files changed, 11 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list