aboutsummaryrefslogtreecommitdiff
path: root/cmd/spl.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2017-09-28 08:42:10 -0700
committerYork Sun <york.sun@nxp.com>2017-10-09 08:48:44 -0700
commitd1fc0a31b5f307c92b7a047d4f90d5ad2e54cdcc (patch)
tree7b43d3ec735d65b01a05e9f84f422f49929d570a /cmd/spl.c
parentc48deb9073da50f2dd7fa9d7ce951b1fe4dfaec7 (diff)
downloadu-boot-d1fc0a31b5f307c92b7a047d4f90d5ad2e54cdcc.zip
u-boot-d1fc0a31b5f307c92b7a047d4f90d5ad2e54cdcc.tar.gz
u-boot-d1fc0a31b5f307c92b7a047d4f90d5ad2e54cdcc.tar.bz2
spl: fix assignment of board info to global data
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@nxp.com> CC: Lokesh Vutla <lokeshvutla@ti.com> CC: Ravi Babu <ravibabu@ti.com> CC: Lukasz Majewski <lukma@denx.de> CC: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/spl.c')
0 files changed, 0 insertions, 0 deletions