ARM: OMAP4+: Allow arch specfic code to use early DM
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 7 Mar 2016 09:19:54 +0000 (14:49 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2016 23:18:48 +0000 (19:18 -0400)
commite850ed82bce86323939b5ce8e53f0f11a66e02a9
tree4d0746d9c3b7660ba4132df974c768bda9ebcc93
parent29c20ba235bbe2af113dfc8f09e04c3c8f9bdec0
ARM: OMAP4+: Allow arch specfic code to use early DM

Early system initialization is being done before initf_dm is being called
in U-Boot. Then system will fail to boot if any of the DM enabled driver
is being called in this system initialization code. So, rearrange the
code a bit so that DM enabled drivers can be called during early system
initialization.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/hwinit-common.c