am33xx: board: Call spl_early_init() to support sdram_init()
authorFaiz Abbas <faiz_abbas@ti.com>
Wed, 24 Jan 2018 09:14:49 +0000 (14:44 +0530)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 17:27:33 +0000 (12:27 -0500)
commitb442e16b876f92af82768d6ec86fe71ecea01166
tree0e56751de31a11598ad0885dd4cb48556bd69c83
parent85ab0452fefc8c48b0b4f35200cb2590b4693ab3
am33xx: board: Call spl_early_init() to support sdram_init()

With driver model enabled in SPL, sdram_init() requires device tree
and malloc to be initialized.
Therefore call spl_early_init() in early_system_init().

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-omap2/am33xx/board.c