From patchwork Tue Dec 11 09:34:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1010925 X-Patchwork-Delegate: uboot@andestech.com 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=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="i3aaC/qG"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43DZd15hbRz9s3l for ; Tue, 11 Dec 2018 20:38:29 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 784DCC2253C; Tue, 11 Dec 2018 09:34:14 +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=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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 E31E4C226BD; Tue, 11 Dec 2018 09:30:54 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7E3B6C22197; Tue, 11 Dec 2018 09:30:21 +0000 (UTC) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by lists.denx.de (Postfix) with ESMTPS id 8B782C22172 for ; Tue, 11 Dec 2018 09:30:17 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id z10so6374820pgp.7 for ; Tue, 11 Dec 2018 01:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=dItgKU8Ylr+bQoTWoNs5OvvkFf1kZfypiZcOXujftfc=; b=i3aaC/qGJMG4dKv3yydUbCWkNWDAuBKOroJ8JgbDXO+l8NPeslkRlSKsZ+x1nRjxRG USjdofBS6Za/D0uDz8fTDh5fSD/T3TzlmQ6thahWeVMztrxl/VP1LDjz9BmNwwS0OEuB BuFaqD+/sCZd9GDYkpw1h0vp13IbpY/rm0uJFkhN5PTKYtxol/ltR7VM0tgLtMUOurhJ zxg6oKu5zvjaHxToaONoVf0rB/k5OQrBetAVx4tjZcCx4f3QWmOS1jhlRtu26y50DE5q SPBxkCh0ZOmFCar+eza/FupFmELxNSh+dkgdjUmlE8y1IF1/9+93i4q02P2qZiT97hop pIgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=dItgKU8Ylr+bQoTWoNs5OvvkFf1kZfypiZcOXujftfc=; b=JuXJnyHA0/N2i3QDC70bH9YW8Izhij55pin0BCFDRihDzdFlQxUDnjMk+SdhJfLg0y w0m6P97J/24ZtsYQMdWFss2eHVZ/+AhW0Oki3Tnayn5/ws2w1EXRYeFyYUFVkey6o79Z uw1F+nVTjujDJgSfw6opBGD5lRcyls8dfom6xxm3eEbmoYp/7JxrnLAmJZJfrv4RSZVt ZTtbJvCypREZa6eGR0RscPSFT50lD9SdtXupxVTTbhvndoiYbZkSvy0dWXol0ZYWuMkX g96y5LLgWOsTQ27AsrIQhkx0W++oLuB1GdqGPNS2t1rLrcKuKF2H8VWQNwDAkdtFDui0 tABw== X-Gm-Message-State: AA+aEWZvNEy0+7GY+h2KoL0L9X07tjVv7Cq6JuFZLg8Jl1AbwK4jlgmy fsK2/gdmLHPvNOvvkAYA3v8= X-Google-Smtp-Source: AFSGD/XahQ0/NYxdFnAZ5fPq9M2Zp+nFGpE+KGm3twKPPtn9yss9KkE9aPyciSWiGQyPzlX9/UFGwQ== X-Received: by 2002:a63:7044:: with SMTP id a4mr13703872pgn.359.1544520616254; Tue, 11 Dec 2018 01:30:16 -0800 (PST) Received: from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com. [147.11.156.139]) by smtp.gmail.com with ESMTPSA id n66sm21916129pfk.19.2018.12.11.01.30.15 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Dec 2018 01:30:15 -0800 (PST) From: Bin Meng To: Rick Chen , Simon Glass , Lukas Auer , Anup Patel , U-Boot Mailing List Date: Tue, 11 Dec 2018 01:34:47 -0800 Message-Id: <1544520901-31558-12-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1544520901-31558-1-git-send-email-bmeng.cn@gmail.com> References: <1544520901-31558-1-git-send-email-bmeng.cn@gmail.com> Subject: [U-Boot] [PATCH v3 11/25] riscv: Enlarge the default SYS_MALLOC_F_LEN 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Increase the heap size for the pre-relocation stage, so that CPU driver can be loaded. Signed-off-by: Bin Meng Reviewed-by: Lukas Auer --- Changes in v3: None Changes in v2: None arch/riscv/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 39ca2d8..c45e4d7 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -113,4 +113,7 @@ config RISCV_RDTIME standard rdtime instruction. This is the case for S-mode U-Boot, and is useful for processors that support rdtime in M-mode too. +config SYS_MALLOC_F_LEN + default 0x1000 + endmenu