From patchwork Thu Apr 18 02:13:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 237396 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 E1BFE2C0197 for ; Thu, 18 Apr 2013 12:15:59 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A8C034A233; Thu, 18 Apr 2013 04:15:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 kUP9O7fy3gKh; Thu, 18 Apr 2013 04:15:44 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3417A4A2A5; Thu, 18 Apr 2013 04:15:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DE6974A2FF for ; Thu, 18 Apr 2013 04:14:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 cK2GbQHOqO3m for ; Thu, 18 Apr 2013 04:14:57 +0200 (CEST) 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-vc0-f201.google.com (mail-vc0-f201.google.com [209.85.220.201]) by theia.denx.de (Postfix) with ESMTPS id E36344A2A6 for ; Thu, 18 Apr 2013 04:14:41 +0200 (CEST) Received: by mail-vc0-f201.google.com with SMTP id hz11so236153vcb.4 for ; Wed, 17 Apr 2013 19:14:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=1CIYIyjO9kCXlrPcjwsYftVFivTf3LUgRof34MrYBcw=; b=dViaoYXOijNyRVWHaEL6HFdBQG9jV8Kj9rndgvWkr+Yf+Y8PAyis2HHBWI4c+nRwdH 6UPpUaujBHUHYBWlA26HqB2V+iTMXHY+pKtICpSoqI0KhPl+VS2uSvJ4okIkZPSDxrhs 5xmjhtwnPOP0i2ZgkEXr/NHYCWPCHWsvjip3L+pz5YhsCKAXXbKIDovvyd4GKYwMP1xI ZMZYayJQ5KAsRibPy0Od6G7iZCh0ToML2faf1LaNI/zmMd4jgARf0nBsUpCe0m9bpO68 fSAIInzVYhqlNVCKFoVyTh1CLtP0yXNo5o7AQw0moJAzQG/jlkkEeyfgOAejMAFiniGB KxsQ== X-Received: by 10.236.145.131 with SMTP id p3mr4488609yhj.6.1366251279475; Wed, 17 Apr 2013 19:14:39 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id h30si2108906yhi.1.2013.04.17.19.14.39 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Wed, 17 Apr 2013 19:14:39 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.83.1]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 94E2B32B091; Wed, 17 Apr 2013 19:14:11 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 6A9E01607AE; Wed, 17 Apr 2013 19:14:11 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 17 Apr 2013 19:13:42 -0700 Message-Id: <1366251228-19884-14-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1366251228-19884-1-git-send-email-sjg@chromium.org> References: <1366251228-19884-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQkmEmNK0V/GqbgSum+tsxXGnF4TZulQT6GucL4HVHGw+KoiX6LGJ/IpKOhLikyI/hu0lJwowzuBPgh/NXBe3Xw8W7FnVZJt0MdVrhWZ+OdiI7KKFgbxFkpvIsG4wKMB2VvM3ijnkT/C601WniBrFO5c1fKO7o85T++LiucgyKq+aa9d0l88539BkXCM/+FUIoBQK/Y/ Cc: u-boot-review@google.com Subject: [U-Boot] [PATCH 13/19] Call bootstage_relocate() after malloc is initted X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Doug Anderson In a previous CL we added the bootstage_relocate(), which should be called after malloc is initted. Now we call it on generic board. Signed-off-by: Doug Anderson Signed-off-by: Simon Glass Reviewed-by: Simon Glass --- common/board_r.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/board_r.c b/common/board_r.c index 2b17fa6..a364ef24 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -761,6 +761,7 @@ init_fnc_t init_sequence_r[] = { #endif initr_barrier, initr_malloc, + bootstage_relocate, #ifdef CONFIG_ARCH_EARLY_INIT_R arch_early_init_r, #endif