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

York Sun york.sun at nxp.com
Tue Oct 3 15:08:35 UTC 2017


On 09/28/2017 08:42 AM, York Sun 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.
> 

Simon,

Is this version OK?

York


More information about the U-Boot mailing list