From patchwork Fri Jul 11 04:23:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 368948 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 55FD514010B for ; Fri, 11 Jul 2014 14:25:20 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4F943B37B1; Fri, 11 Jul 2014 06:25:08 +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 oQiusNkLVEuc; Fri, 11 Jul 2014 06:25:08 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 216E4B37DF; Fri, 11 Jul 2014 06:24:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 39067B37AD for ; Fri, 11 Jul 2014 06:24:12 +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 A7fg8KyDlvuN for ; Fri, 11 Jul 2014 06:24:09 +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-ig0-f202.google.com (mail-ig0-f202.google.com [209.85.213.202]) by theia.denx.de (Postfix) with ESMTPS id 896DAB37B3 for ; Fri, 11 Jul 2014 06:23:57 +0200 (CEST) Received: by mail-ig0-f202.google.com with SMTP id r2so57013igi.5 for ; Thu, 10 Jul 2014 21:23:56 -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=rv6dWOq23v8t1ftYe39Ve7WWsWqHJxTwOI2FHSrs3fk=; b=gkTdMtkKN2X6hdJuT6s2abcAQFjjU7O/UMb2aANCIyjrXn3FpHIBUkCzqERQ7eNL7s V0hs3z3Lk5SbsG3fhb519n6ETOteqBvYdRUsIRiTEa5zeDoEzZTIuj1rAJwe/9ha11W3 fsTN6rJoU1Fqb+mGrLg2s9swqQszM6CAuEgp5G17bvrZviqMY/zrEbPbX2K3BGzbbN3/ YsAPAP1b6WExB0A1zqCWrHSXAgDymL2lIV5Pzr8B6AeCTDgE4gwgpMXFC4FVG0nYrach bWwsKEDRUlScEdr47ELkjD2UfkAjMPjSOvq9D48a8NjPgplZ4LB9Eyclr1T7wukDIJjM AYMw== X-Gm-Message-State: ALoCoQnLvu2zCCYUY8bfU1jvrNx6or7hviz094/1jQjb3gUgvs7jddIRQNDfu5GbJFEqHX1zl/fV X-Received: by 10.182.33.106 with SMTP id q10mr25223137obi.8.1405052636662; Thu, 10 Jul 2014 21:23:56 -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 j5si93794yhi.1.2014.07.10.21.23.56 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jul 2014 21:23:56 -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 871845A4082; Thu, 10 Jul 2014 21:23:56 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 3E019220ADD; Thu, 10 Jul 2014 22:23:56 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Thu, 10 Jul 2014 22:23:30 -0600 Message-Id: <1405052613-20987-7-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.0.0.526.g5318336 In-Reply-To: <1405052613-20987-1-git-send-email-sjg@chromium.org> References: <1405052613-20987-1-git-send-email-sjg@chromium.org> Cc: Jeroen Hofstee Subject: [U-Boot] [PATCH v3 6/9] exynos: Enable pre-relocation 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 Enable this feature to support driver model before relocation. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None include/configs/exynos5-dt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/exynos5-dt.h b/include/configs/exynos5-dt.h index 3c2036e..fb03500 100644 --- a/include/configs/exynos5-dt.h +++ b/include/configs/exynos5-dt.h @@ -63,7 +63,8 @@ #define INFORM2_OFFSET 0x808 #define INFORM3_OFFSET 0x80c -/* Size of malloc() pool */ +/* Size of malloc() pool before and after relocation */ +#define CONFIG_SYS_MALLOC_F_LEN (1 << 10) #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (4 << 20)) /* select serial console configuration */ @@ -156,7 +157,6 @@ #define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_SDRAM_BASE + 0x5E00000) #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x3E00000) - #define CONFIG_RD_LVL #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE