From patchwork Wed Sep 3 23:37:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 385688 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 782F51401FA for ; Thu, 4 Sep 2014 09:40:07 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DE279A76F8; Thu, 4 Sep 2014 01:39: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 bApeurcKudlj; Thu, 4 Sep 2014 01:39:44 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9C8B3A78A5; Thu, 4 Sep 2014 01:38:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DE663A785D for ; Thu, 4 Sep 2014 01:38:01 +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 jbgPhgZewllC for ; Thu, 4 Sep 2014 01:37:59 +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-pa0-f74.google.com (mail-pa0-f74.google.com [209.85.220.74]) by theia.denx.de (Postfix) with ESMTPS id 55073A7704 for ; Thu, 4 Sep 2014 01:37:35 +0200 (CEST) Received: by mail-pa0-f74.google.com with SMTP id lj1so2933861pab.3 for ; Wed, 03 Sep 2014 16:37:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=f9HgoR7Tn3hTTVt+DtOiqHHXztrQT0jGxlaw9axUy2Q=; b=Oi4HX0Zve27z42Lek6wyayIIWI8bdq9JiujdKcKmkmx9CaAWxoH05FnxnQQQEquodf CnZoBgeInObsvxihyymSXELpJKRgfEydbPcd6hLznEIM7a+tn3q/4StYBi0mfotpAtfK ML8XiBeEXeZm1AI/RiPi3WtMdnCUenQSH8y+9KhguxHPoNcybJFUOODxWCCHl/Y4CLeD OBaOxT5If6HWJjEdOWTHrP9mvG0YXhPqhaXG7qVyVubGAWErpTw1PRDqYIK3h69zpDLp 7nftS8YNcgQFASKuIY9ao5C+uVi7xySoBhTcNA7h8pZIqaVjVPwvh9RXtGrOQl8x8M41 I4PQ== X-Gm-Message-State: ALoCoQlqTNnzf8QhQ93PRnu51Spm33MU/4dPGBBpExL7h1/yNw4XUwsnKYgACbi4WJrSOFcm13hA X-Received: by 10.70.89.97 with SMTP id bn1mr481899pdb.5.1409787449906; Wed, 03 Sep 2014 16:37:29 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id m14si1551354yhm.7.2014.09.03.16.37.29 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Sep 2014 16:37:29 -0700 (PDT) Received: from kaki.bld.corp.google.com (kaki.bld.corp.google.com [172.29.216.32]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id A04C35A439C; Wed, 3 Sep 2014 16:37:29 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 3554D2220AC; Wed, 3 Sep 2014 17:37:29 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 3 Sep 2014 17:37:02 -0600 Message-Id: <1409787431-4625-5-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1409787431-4625-1-git-send-email-sjg@chromium.org> References: <1409787431-4625-1-git-send-email-sjg@chromium.org> Cc: Stephen Warren , u-boot-review@google.com, Tom Warren Subject: [U-Boot] [PATCH v7 04/13] dm: tegra: Set up a pre-reloc malloc() 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 Allocate 1KB so that driver model can operate before relocation. Signed-off-by: Simon Glass --- Changes in v7: - Add new patch to enable pre-reloc malloc() for tegra Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/tegra-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index d27fceb..7852f9a 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -40,6 +40,7 @@ * Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */ +#define CONFIG_SYS_MALLOC_F_LEN (1 << 10) /* * NS16550 Configuration