1
0
Fork 0
remarkable-uboot/arch/arm/cpu/armv7/am33xx
Russ Dill b67d6b003c ARM: am33xx: Fix DDR initialization delays
The current delays in the DDR initialization routines for am33xx
architectures are sometimes not running long enough leading to DDR
init errors. On am437x, this shows up as an L3 NOC error after the
kernel boots. This is due to the timer not being initialized
properly, but instead still containing the timer init values from
the boot ROM which cause timers to expire in 1/4th the time
required.

timer_init is typically not called until board_init_r, however on
am33xx/am43xx udelay is required in sdram_init which is called
from board_init_f, so a call to timer_init is required earlier.

Note that this issue introduced in v2015.01 by:

b352dde "am33xx: Drop timer_init call from s_init".

Although this could instead fixed by reverting said commit, it
would cause timer_init to be called twice in both SPL and non-SPL
cases. This gives a little more fine grained control and also
matches what is being done on omap-command and fsl-layerscape.

Signed-off-by: Russ Dill <russ.dill@ti.com>
2016-05-06 10:10:20 -04:00
..
Makefile ARM: omap: merge GPMC initialization code for all platform 2014-05-23 19:39:36 -04:00
board.c ARM: Various: Future-proof serial platdata 2016-03-14 19:18:48 -04:00
clock.c ARM: am33xx: Fix DDR initialization delays 2016-05-06 10:10:20 -04:00
clock_am33xx.c ARM: AM43xx: clocks: Update DPLL details 2013-12-18 21:14:01 -05:00
clock_am43xx.c ARM: OMAP5/AM43xx: remove enabling USB clocks from enable_basic_clocks() 2015-08-28 12:33:22 -04:00
clock_ti814x.c ti814x: Fix illegal use of FP ops in clock_ti814x.c 2014-02-21 14:03:44 -05:00
clock_ti816x.c Add TI816X support 2013-08-15 18:38:37 -04:00
config.mk kbuild: use shorten logs for mkimage rules 2014-02-25 11:01:29 -05:00
ddr.c am33xx,ddr3: fix ddr3 sdram configuration 2015-12-12 15:56:09 -05:00
emif4.c am33xx: Re-enable SW levelling for DDR2 2015-06-15 10:57:26 -04:00
mux.c am33xx: move generic parts of pinmux handling out from board/ti/am335x 2012-10-25 11:31:37 -07:00
sys_info.c am33xx: Unused get_board_rev function removal 2015-07-27 15:02:10 -04:00
u-boot-spl.lds arm: Add missing .vectors section to linker scripts 2014-08-30 07:46:41 -04:00