]> git.sur5r.net Git - u-boot/commit
arm: mxs: Wait for DRAM to start
authorMarek Vasut <marex@denx.de>
Mon, 28 Apr 2014 01:38:41 +0000 (03:38 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 29 Sep 2014 07:02:16 +0000 (09:02 +0200)
commit7c604e98c2213619af6a8c3064418af9b689cf56
tree0136e43f6868659a79c5cfb47004f47e975b5f5e
parentbe0ecdbed5efc7833275701ebdb1ff8ef7ffd4c0
arm: mxs: Wait for DRAM to start

Instead of waiting for a fixed period of time and hoping for the best
that the DRAM will start, read back an EMI status register which tells
us exactly when the DRAM started.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c