omap: detect the board after DM is available
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 7 Dec 2018 13:50:45 +0000 (14:50 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 10 Dec 2018 05:14:47 +0000 (06:14 +0100)
commit2b30b38b269e87cbd727862a08ae99843c3ab29e
tree45b4ad9ac8398853f6e2c5db690e1d110db2bd21
parent69dab2be8e9f99740f18038e7d574f241f95f414
omap: detect the board after DM is available

In order to use DM_I2C, we need to move the board detection after the
early SPL initialization.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/arm/mach-omap2/am33xx/board.c
arch/arm/mach-omap2/hwinit-common.c