Skip to content
Snippets Groups Projects
Commit d3d82e9f authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini
Browse files

arm: omap4: Fix SDRAM AUTO DETECTION


Commit "86021143 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: default avatarMichael Cashwell <mboards@prograde.net>
Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent a8f408a8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment