From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 13 Oct 2017 18:34:48 +0000 Subject: [U-Boot] [PATCH v3 1/7] spl: fix assignment of board info to global data References: <1506613337-19467-1-git-send-email-york.sun@nxp.com> <1506613337-19467-2-git-send-email-york.sun@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > CC: Lokesh Vutla > CC: Ravi Babu > CC: Lukasz Majewski > CC: Tom Rini > > --- > > 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. > This set is applied to fsl-qoriq master. York