]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: AMx3xx: Allow arch specific code to use early DM
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 14 Oct 2016 05:05:23 +0000 (10:35 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 21 Nov 2016 14:49:58 +0000 (09:49 -0500)
commitc704a99dff693d3e2d0fe1ad095febb89f872de9
tree009a2ed64e406d38af89406f40d07575815f3d6f
parent693d4c9f1dc40fcf24ced459bc4d1b46db33298a
ARM: AMx3xx: Allow arch specific 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. This is inspired by commit e850ed82bce8 ("ARM: OMAP4+: Allow
arch specific code to use early DM")

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