u-boot/arch
Tom Rini 87acf194a2 arm:am33xx: Make dram_init call sdram_init() in some contexts
We have two contexts for booting these platforms.  One is SPL which is
roughly: reset, cpu_init_crit, lowlevel_init, s_init, sdram_init, _main,
board_init_f from SPL, ... then U-Boot loads.  The other is a
memory-mapped XIP case (NOR or QSPI) where we do not run an SPL.  In
this case we go, roughly: reset, cpu_init_crit, lowlevel_init, s_init,
_main, regular board_init_f.

In the first case s_init will set a valid gd and then be able to call
sdram_init which in many cases will need i2c (which needs a valid gd for
gd->cur_i2c_bus).  In this second case we must (and are able to and
should) defer sdram_init() into dram_init() called by board_init_f as gd
will have been set in _main and cleared in board_init_f.

Signed-off-by: Tom Rini <trini@ti.com>
2014-06-06 17:46:14 -04:00
..
arc common/board_f: Initialized global data for generic board 2014-05-12 15:20:05 -04:00
arm arm:am33xx: Make dram_init call sdram_init() in some contexts 2014-06-06 17:46:14 -04:00
avr32 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
blackfin blackfin: replace bfin_gen_rand_mac() with eth_random_addr() 2014-05-12 15:19:46 -04:00
m68k bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
microblaze bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
mips common/board_f: Initialized global data for generic board 2014-05-12 15:20:05 -04:00
nds32 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
nios2 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
openrisc bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
powerpc mpc85xx/p1020:Define number of USB controllers used on P1020RDB-PD platform 2014-05-16 16:24:27 -05:00
sandbox Revert "sandbox: move source files from board/ to arch/sandbox/" 2014-05-16 11:40:51 -07:00
sh bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
sparc bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
x86 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00