u-boot-brain/arch/arm/cpu/armv8/fsl-layerscape
York Sun d1fc0a31b5 spl: fix assignment of board info to global data
Commit 15eb1d43bf ("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>
2017-10-09 08:48:44 -07:00
..
doc armv8: ls1088a: Add NXP LS1088A SoC support 2017-09-11 08:00:13 -07:00
cpu.c armv8: fsl-layerscape: Allocate Secure memory from first ddr region 2017-10-09 08:48:44 -07:00
cpu.h armv8/fsl-lsch3: Update code to release secondary cores 2016-11-22 11:38:48 -08:00
fdt.c armv8: fsl: Use correct conditional compile for ls1012a 2017-09-11 08:00:13 -07:00
fsl_lsch2_serdes.c armv8/fsl_lsch2: Add chip power supply voltage setup 2017-01-18 09:29:08 -08:00
fsl_lsch2_speed.c arch: arm: update the IFC IP input clock 2017-02-03 14:31:19 -08:00
fsl_lsch3_serdes.c armv8: ls1088a: Add NXP LS1088A SoC support 2017-09-11 08:00:13 -07:00
fsl_lsch3_speed.c arch: arm: update the IFC IP input clock 2017-02-03 14:31:19 -08:00
Kconfig armv8: Apply workaround for USB erratum A-009007 to LS1088A 2017-10-09 08:36:37 -07:00
lowlevel.S armv8: fsl-layerscape: Add back L3 flushing for all exception levels 2017-09-11 08:02:13 -07:00
ls1012a_serdes.c armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC 2016-06-03 14:12:50 -07:00
ls1043a_psci.S ARMv8: LS1043A: Enable LS1043A default PSCI support 2016-12-15 11:57:56 -08:00
ls1043a_serdes.c armv8/ls1043ardb: Add LS1043ARDB board support 2015-10-29 10:34:01 -07:00
ls1046a_serdes.c armv8: fsl_lsch2: Add LS1046A SoC support 2016-07-26 09:02:23 -07:00
ls1088a_serdes.c armv8: ls1088a: Add NXP LS1088A SoC support 2017-09-11 08:00:13 -07:00
ls2080a_serdes.c armv8: ls2080a: Add serdes2 protocol 0x51 support 2017-04-17 09:03:30 -07:00
Makefile armv8: ls1088a: Add NXP LS1088A SoC support 2017-09-11 08:00:13 -07:00
mp.c armv8: Remove duplicate definition for IH_ARCH_ARM and IH_ARCH_ARM64 2017-08-01 08:28:56 -07:00
ppa.c blk: Remove various places that do flush cache after read 2017-09-15 08:05:10 -04:00
soc.c armv8: Apply workaround for USB erratum A-009007 to LS1088A 2017-10-09 08:36:37 -07:00
spl.c spl: fix assignment of board info to global data 2017-10-09 08:48:44 -07:00