u-boot/arch/arm/cpu/armv7/omap-common
Tom Rini a6b541b090 TI ARMv7: Don't use GD before crt0.S has set it
Prior to this change we set the gd pointer early so that we can store
data in it.  This becomes problematic for DM changes as well as being
odd in general.  Re-work the code paths so that we don't need to set the
gd pointer so early and instead can rely upon the normal setting of it.

In order to do this we do need to move certain calls from s_init into
spl_board_init(), mainly preloader_console_init and
save_omap_boot_params.

Tested on: Beaglebone Black, AM43xx GP EVM, Beagleboard, Beagleboard xM,
OMAP5 uEVM, DRA7xx EVM
Signed-off-by: Tom Rini <trini@ti.com>
Tested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2015-01-16 14:52:52 -05:00
..
abb.c replace DIV_ROUND with DIV_ROUND_CLOSEST 2014-11-20 11:28:25 -05:00
boot-common.c TI ARMv7: Don't use GD before crt0.S has set it 2015-01-16 14:52:52 -05:00
clocks-common.c ARM: OMAP4/5: Remove dead code against CONFIG_SYS_CLOCKS_ENABLE_ALL 2014-01-24 09:34:22 -05:00
emif-common.c arm: omap-common: emif: allow to map memory without interleaving 2014-12-04 11:04:13 -05:00
hwinit-common.c TI ARMv7: Don't use GD before crt0.S has set it 2015-01-16 14:52:52 -05:00
lowlevel_init.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile am33xx/omap: Allow cache enable for all Sitara/OMAP 2014-06-11 16:25:39 -04:00
mem-common.c ARM: omap: clean redundant PISMO_xx macros used in OMAP3 2014-07-25 16:26:12 -04:00
omap-cache.c am33xx/omap: Allow cache enable for all Sitara/OMAP 2014-06-11 16:25:39 -04:00
pipe3-phy.c ARM: OMAP5: Add Pipe3 PHY driver 2013-12-04 08:12:08 -05:00
pipe3-phy.h ARM: OMAP5: Add Pipe3 PHY driver 2013-12-04 08:12:08 -05:00
reset.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sata.c OMAP5+: sata/scsi: implement scsi_bus_reset() 2015-01-05 15:13:46 -05:00
timer.c omap-common/hwinit-common.c: timer_init() doesn't need to touch gd 2015-01-05 15:13:45 -05:00
u-boot-spl.lds arm: Add missing .vectors section to linker scripts 2014-08-30 07:46:41 -04:00
utils.c OMAP: common: consolidate fake USB ethernet MAC address creation 2014-04-17 14:39:54 -04:00
vc.c ARM: OMAP4+: pmic: Make generic bus init and write functions 2013-06-10 08:43:09 -04:00