rockchip: rk3288: use spl_early_init() instead of spl_init()
authorEddie Cai <eddie.cai.linux@gmail.com>
Wed, 15 Mar 2017 14:43:29 +0000 (08:43 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:43 +0000 (16:03 -0600)
commit739760569fe27bdd708b762e0c651144ed5d0cc2
tree1c5c85327da78a63ecf7f46141a8be8cc83afd55
parent340f418acd1159588b2f0fb50561053212c4247d
rockchip: rk3288: use spl_early_init() instead of spl_init()

Use spl_early_init() to make sure that early malloc() is initialised. This
fixes booting on firefly-rk3288, for example.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Eddie Cai <eddie.cai.linux@gmail.com>
arch/arm/mach-rockchip/rk3288-board-spl.c