u-boot/arch/arm/cpu/armv7/omap3
Simon Glass 7ae8350f67 ti: armv7: Move SPL SDRAM init to the right place, drop unused CONFIG_SPL_STACK
Currently in some cases SDRAM init requires global_data to be available
and soon this will not be available prior to board_init_f().  Adjust the
code paths in these cases to be correct.  In some cases we had the SPL
stack be in DDR as we might have large stacks (due to Falcon Mode +
Environment).  In these cases switch to CONFIG_SPL_STACK_R.  In other
cases we had simply been setting CONFIG_SPL_STACK into SRAM.  In these
cases we no longer need to (CONFIG_SYS_INIT_SP_ADDR is used and is also
in SRAM) so drop those lines.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested on Beagleboard, Beagleboard xM
Tested-by: Matt Porter <mporter@konsulko.com>
Tested on Beaglebone Black, AM43xx GP EVM, OMAP5 uEVM, OMAP4 Pandaboard
Tested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2015-03-04 14:55:04 -05:00
..
am35x_musb.c Coding Style cleanup: remove trailing empty lines 2013-10-14 16:06:54 -04:00
board.c ti: armv7: Move SPL SDRAM init to the right place, drop unused CONFIG_SPL_STACK 2015-03-04 14:55:04 -05:00
clock.c omap3: enable GP9 timer and UART2 2015-01-29 12:00:50 -05:00
config.mk kbuild: use shorten logs for mkimage rules 2014-02-25 11:01:29 -05:00
emac.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
emif4.c omap3: make local functions static 2014-10-25 07:02:02 -04:00
Kconfig kconfig: remove unneeded dependency on !SPL_BUILD 2015-02-24 17:06:27 -05:00
lowlevel_init.S arm: Allow lr to be saved by board code 2015-02-16 20:14:54 +01:00
Makefile ARM: omap: merge GPMC initialization code for all platform 2014-05-23 19:39:36 -04:00
sdrc.c omap3: make SDRC SHARING setting configurable 2015-01-29 12:00:50 -05:00
spl_id_nand.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sys_info.c omap3: board: add missing include and proto 2014-10-25 15:27:35 -04:00