Lokesh Vutla d3d82e9fc6 arm: omap4: Fix SDRAM AUTO DETECTION
Commit "8602114 omap: emif: configure emif only when required"
breaks SDRAM_AUTO_DETECTION.
The issue is dmm_init() depends on emif_sizes[](SDRAM Auto detection)
done in do_sdram_init(). The above commit moves dmm_init() above
do_sdram_init() because of which dmm_init() uses uninitialized
emif_sizes[].
So instead of using global emif_sizes[], get sdram details locally
and calculate emif sizes.

Reported-by: Michael Cashwell <mboards@prograde.net>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2013-04-08 11:29:34 -04:00
..
2012-03-26 23:09:26 +02:00
2012-11-16 09:16:45 +01:00
2011-07-16 13:00:11 +02:00
2011-11-29 15:43:38 +01:00
2013-04-08 11:29:34 -04:00
2013-02-04 09:05:45 -05:00
2011-02-21 08:30:55 +01:00
2012-05-15 08:31:26 +02:00
2012-11-20 00:16:08 +01:00
2011-07-04 10:55:25 +02:00
2010-10-13 09:59:33 +02:00
2013-03-15 16:13:54 -04:00
2013-03-15 16:14:00 -04:00