[U-Boot] [PATCH v4 2/2] rockchip: rk3288: use spl_early_init() instead of spl_init()
Eddie Cai
eddie.cai.linux at gmail.com
Thu Mar 16 15:04:29 UTC 2017
2017-03-15 22:43 GMT+08:00 Simon Glass <sjg at chromium.org>:
> From: Eddie Cai <eddie.cai.linux at gmail.com>
>
> 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 at gmail.com>
> Signed-off-by: Simon Glass <sjg at chromium.org>
>
Reviewed-by: Eddie Cai <eddie.cai.linux at gmail.com>
> ---
>
> 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();
> }
>
> --
> 2.12.0.367.g23dc2f6d3c-goog
>
>
More information about the U-Boot
mailing list