From patchwork Mon Dec 3 11:37:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1006832 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="JnC3HENS"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 437jhZ3Bnwz9s55 for ; Mon, 3 Dec 2018 22:39:42 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id EFBF5C22160; Mon, 3 Dec 2018 11:38:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id D9445C221C5; Mon, 3 Dec 2018 11:38:29 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8BE3AC22185; Mon, 3 Dec 2018 11:38:17 +0000 (UTC) Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by lists.denx.de (Postfix) with ESMTPS id 4E111C22188 for ; Mon, 3 Dec 2018 11:38:17 +0000 (UTC) Received: by mail-qt1-f200.google.com with SMTP id j5so12956770qtk.11 for ; Mon, 03 Dec 2018 03:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=97V/NhRB+9pq9CjtxqMFX8dtmg8omPe9buxXoCcao90=; b=JnC3HENSZ2JeWmVC2AqhB/XMvSjtwhWWl1PMPziqn5vhaGmTWB0M1mOZ0qxBt2SJ2X h5o35izUF9bOrUhqAzKQ7PlGp/FcQ6NVwRwqPxXgM82V9I0Z8OXnWLimAE7pqvesJ4bk RfZa0cx24/79CQtjl3Wdksem6UqY/5F3kgFK0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=97V/NhRB+9pq9CjtxqMFX8dtmg8omPe9buxXoCcao90=; b=Nz499xUxQXRpZ7V2Dq+TU1xXgKMhIDaDxw5zNjsl0eJ9pRu44a8ssK/My6z9lyDUUv LXchQAC+s14lmyPNOaF+T9iBDXK/6/QGarefVvsBqSv5zEzppGL00GF3Fk0ibRO3r6kg db9QPYoBDwknGcjowazZblUEkYoZOzO4e1pHqmgW3O3+HVVeZSy3JzQFFEmN0tuBEi3R SBhk49wFgOTh6ydMpdDIsbnZ714zVL0TpOvNCbsADR4Xh4h3NMr42TwUycg7Rkgv7hwu rJSncS5VJ83pYqbaVye1bZZdzsG8njvn8LMWk3wAyBsUO1F9YLMhTDLE3eAd9vuyJgXw 7Gyw== X-Gm-Message-State: AA+aEWZHl4Avovm37zFZXtOJCGcXOxF3NKtiMMC947j/qQDhF1pjKpH/ M2oWRH379A1PcmBiLEDPu9I1YoaMAe1Le4cs X-Google-Smtp-Source: AFSGD/WXN5CpH5o6NuNMyjs5tTnBpieWEretqVdDCdoaAZnT7pPj7BecFyKlIWJh7U8FVIsrokvW738DivTd179B X-Received: by 2002:a0c:ae61:: with SMTP id z30mr12405932qvc.11.1543837096049; Mon, 03 Dec 2018 03:38:16 -0800 (PST) Date: Mon, 3 Dec 2018 04:37:17 -0700 In-Reply-To: <20181203113746.218103-1-sjg@chromium.org> Message-Id: <20181203113746.218103-2-sjg@chromium.org> Mime-Version: 1.0 References: <20181203113746.218103-1-sjg@chromium.org> X-Mailer: git-send-email 2.20.0.rc1.387.gf8505762e3-goog From: Simon Glass To: U-Boot Mailing List Cc: Marek Vasut , Duncan Hare , Joe Hershberger , Michal Simek Subject: [U-Boot] [PATCH 01/30] sandbox: Increase the pre-relocation memory X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This is close to full now, so increase it to avoid problems with adding more devices. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- Kconfig | 2 ++ configs/sandbox64_defconfig | 1 - configs/sandbox_defconfig | 1 - configs/sandbox_flattree_defconfig | 1 - configs/sandbox_noblk_defconfig | 1 - configs/sandbox_spl_defconfig | 1 - 6 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Kconfig b/Kconfig index dca9bb4e432..477a3c4ae03 100644 --- a/Kconfig +++ b/Kconfig @@ -125,6 +125,7 @@ config SYS_BOOT_GET_KBD config SYS_MALLOC_F bool "Enable malloc() pool before relocation" default y if DM + help Before relocation, memory is very limited on many platforms. Still, we can provide a small malloc() pool if needed. Driver model in @@ -135,6 +136,7 @@ config SYS_MALLOC_F_LEN hex "Size of malloc() pool before relocation" depends on SYS_MALLOC_F default 0x1000 if AM33XX + default 0x2800 if SANDBOX default 0x400 help Before relocation, memory is very limited on many platforms. Still, diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig index e6680d9a594..aede14569df 100644 --- a/configs/sandbox64_defconfig +++ b/configs/sandbox64_defconfig @@ -1,5 +1,4 @@ CONFIG_SYS_TEXT_BASE=0 -CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_SANDBOX64=y CONFIG_DISTRO_DEFAULTS=y CONFIG_NR_DRAM_BANKS=1 diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 5a744f47917..4d65a01dc5b 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -1,5 +1,4 @@ CONFIG_SYS_TEXT_BASE=0 -CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_DEBUG_UART=y CONFIG_DISTRO_DEFAULTS=y CONFIG_NR_DRAM_BANKS=1 diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig index 756b839b081..4f3757c8bc5 100644 --- a/configs/sandbox_flattree_defconfig +++ b/configs/sandbox_flattree_defconfig @@ -1,5 +1,4 @@ CONFIG_SYS_TEXT_BASE=0 -CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_DISTRO_DEFAULTS=y CONFIG_NR_DRAM_BANKS=1 CONFIG_FIT=y diff --git a/configs/sandbox_noblk_defconfig b/configs/sandbox_noblk_defconfig index e71e2d3860c..6c7d08e42e1 100644 --- a/configs/sandbox_noblk_defconfig +++ b/configs/sandbox_noblk_defconfig @@ -1,5 +1,4 @@ CONFIG_SYS_TEXT_BASE=0 -CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_DISTRO_DEFAULTS=y CONFIG_NR_DRAM_BANKS=1 CONFIG_FIT=y diff --git a/configs/sandbox_spl_defconfig b/configs/sandbox_spl_defconfig index 452a2ef4a50..2f838125289 100644 --- a/configs/sandbox_spl_defconfig +++ b/configs/sandbox_spl_defconfig @@ -1,7 +1,6 @@ CONFIG_SYS_TEXT_BASE=0 CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y -CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_DRIVERS_MISC_SUPPORT=y CONFIG_SPL=y