From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kever Yang Date: Thu, 16 Mar 2017 15:08:47 +0800 Subject: [U-Boot] [PATCH v4 2/2] rockchip: rk3288: use spl_early_init() instead of spl_init() In-Reply-To: <20170315144329.27103-2-sjg@chromium.org> References: <20170315144329.27103-1-sjg@chromium.org> <20170315144329.27103-2-sjg@chromium.org> Message-ID: <58CA39FF.8060902@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Eddie, Simon, Could you help to correct rk3188, rk3399 spl at the same time? Thanks, - Kever On 03/15/2017 10:43 PM, Simon Glass wrote: > From: Eddie Cai > > 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 > Signed-off-by: Simon Glass > --- > > Changes in v4: > - Change debug() message to match new function name > > Changes in v3: > - Rewrite both commit messages > > Changes in v2: > - Add v2 to the series since this is a new version > > arch/arm/mach-rockchip/rk3288-board-spl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c > index e51e19bb2d..74f3379194 100644 > --- a/arch/arm/mach-rockchip/rk3288-board-spl.c > +++ b/arch/arm/mach-rockchip/rk3288-board-spl.c > @@ -185,9 +185,9 @@ void board_init_f(ulong dummy) > debug_uart_init(); > #endif > > - ret = spl_init(); > + ret = spl_early_init(); > if (ret) { > - debug("spl_init() failed: %d\n", ret); > + debug("spl_early_init() failed: %d\n", ret); > hang(); > } >