pcm052: fix DDR initialization sequence
authorAlbert ARIBAUD \(3ADEV\) <albert.aribaud@3adev.fr>
Wed, 1 Feb 2017 13:46:00 +0000 (14:46 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 8 Feb 2017 21:24:25 +0000 (16:24 -0500)
commitdb74cbfc090f05bbfe31ea05ca7e04bd8f364c9f
treedb068bbd8b629c10ea6c4a7da30dcf010f9a71bd
parente9ced147bced4fb6b9b2563bc177af7c7b680753
pcm052: fix DDR initialization sequence

The sequence erroneously launched the DDR controller
initialization before the pad muxing was done, causing
DRAM size computation to hang.

Configuring the pads first then launching DDR controller
initialization prevents the DRAM hanging.

Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
board/phytec/pcm052/pcm052.c