From patchwork Thu Feb 23 01:59:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eddie Cai X-Patchwork-Id: 731370 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3vTHmy4KPzz9s78 for ; Thu, 23 Feb 2017 13:12:18 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qyLt1701"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8A9BEB3895; Thu, 23 Feb 2017 03:12:16 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NDAmDCHt6A7p; Thu, 23 Feb 2017 03:12:16 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2770DB389A; Thu, 23 Feb 2017 03:10:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 970744B68A for ; Thu, 23 Feb 2017 03:02:47 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bC4EVJ6nDRCx for ; Thu, 23 Feb 2017 03:02:47 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by theia.denx.de (Postfix) with ESMTPS id 2E6F5B3891 for ; Thu, 23 Feb 2017 03:00:35 +0100 (CET) Received: by mail-pg0-f65.google.com with SMTP id z128so2669199pgb.3 for ; Wed, 22 Feb 2017 18:00:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/+dVU+HisZzphZs5e6Pqq/2rmicc0YqbnbIrS8JVvds=; b=qyLt1701cFNPdgo1jgX78kf/G9+PBdppmzlF3AIBwxlWb7rHRGq/Obnn3I431LEsOc RjPOZgERQpAAVl9hfIyWOTEoxtWuO0s/c3YVqY7eaRtyhREd6IfxvSo6FJ5qHptzKhYQ FXGdd9uyDHppStkPKvUAJepoyDRqGvi6a8if3uspQvHJyGpYnqLplvCsw2ScDJkxQaHV qdmCaaQ//9LjkYhE3swNILNAf4s4ajyCw+Scvp28E2SU3yK5SzQtKFXjXirwi8Y1j76Y 1d1AOYGbzn/WF1md3E6E72ZIXfEhoddM/x+H3Fkk8mKVLPryfPa4+P0RRWFEtHwV3lEV TjHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/+dVU+HisZzphZs5e6Pqq/2rmicc0YqbnbIrS8JVvds=; b=H7C4NOJ4JGDQCwwXKDoXIqTlB+A97k4golHvrC1cpCFca7iq0gwv9oSZBMV7nLOt6q 9jB7io/6mC4ekGeNFVazCyNOsFndg9+n3VbSdg8eEIp4x/Vw5OaHXsMleq2THHLxkmQh doslHX9QFSf+mDx/09q9mTZ31RIXwHveI7YmRxYm9IDH1wp8bHmnFo7QBBEVFTvXllJF Y2BzZF5rs+8rGLjyAK4dVQ3L+PGwxQZO2UwK+PJA4VI9o/yMkPZdqkoCQ/e+iIkHLXe7 7YcKHrUJblNmz/M3VXtAWo+N0smis/r6B5MMR9nxv6wypGWMxg99b7FBt85j0aVQJKPj tcSQ== X-Gm-Message-State: AMke39nwGr/4ywjJU4w2v/LGEDcerfFLzYR+/QKLQmhPqutD1822hAOKC4+2lV5+agFkVg== X-Received: by 10.98.196.12 with SMTP id y12mr10351999pff.49.1487815234614; Wed, 22 Feb 2017 18:00:34 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id f78sm5818517pfe.116.2017.02.22.18.00.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Feb 2017 18:00:33 -0800 (PST) From: Eddie Cai To: sjg@chromium.org Date: Thu, 23 Feb 2017 09:59:46 +0800 Message-Id: <1487815186-24437-3-git-send-email-eddie.cai.linux@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487815186-24437-1-git-send-email-eddie.cai.linux@gmail.com> References: <1487815186-24437-1-git-send-email-eddie.cai.linux@gmail.com> Cc: u-boot@lists.denx.de Subject: [U-Boot] [U-Boot 2/2] rockchip: use spl_early_init instead of spl_init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" use spl_early_init to avoid malloc_base, limit, ptr not initualized. Signed-off-by: Eddie Cai --- arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c index 930939a..02ab5a4 100644 --- a/arch/arm/mach-rockchip/rk3288-board-spl.c +++ b/arch/arm/mach-rockchip/rk3288-board-spl.c @@ -184,7 +184,7 @@ 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); hang();