From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8C95C432BE for ; Sun, 29 Aug 2021 20:49:54 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AE1A360F46 for ; Sun, 29 Aug 2021 20:49:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AE1A360F46 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 56FAC82D52; Sun, 29 Aug 2021 22:49:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="souddgVr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 037E482D92; Sun, 29 Aug 2021 22:49:49 +0200 (CEST) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B314A82D13 for ; Sun, 29 Aug 2021 22:49:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf33.google.com with SMTP id l4so7223156qvl.12 for ; Sun, 29 Aug 2021 13:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=RZ0qoSa41xUBfQiFSjmZ6j2dhinSE46A6MZYNiV7tTk=; b=souddgVrcN4sLDr7RnzKphvwnKgW4oV/OyPba9EGN03r9qS/wX7wHNbp+hWTQiaPXb xbsa9/TAeQy2mXJqpLMtFRYPRF1ot5o1BR/bFVI8umnAXlrLeRUc5nXjUIx7LoVKExtA Q7UDcJp+XIM2lSsWJrAU1M7YSIySLCLRzZhPA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RZ0qoSa41xUBfQiFSjmZ6j2dhinSE46A6MZYNiV7tTk=; b=BTNocahbfwqvkOubCkozk0ANsSkSzVk4y+32aCcYQpwV3DmqBTrleTyeyTQz5oRr26 0X7K/699RBcNFzSulZzOosr2W8ekDdIkr7mGVEhIuuukzYP/+QpkUH/2GLF+PzkpDpnb hhkbWTJP/zJ7uSFSMpDlS8rJISwvofSHQFhhvKo3iIA0CgBIzSTE1dE6r/GCYno7KFVV uuCnXINsQTjzuHfFh52/bzs7Ud3dKwKVnwA78lFjryAQKifTOfMCuZA+4O42KZVBdfBv /F+q+TXKzOL1QAy9IwrtqNFvJwJzctdcHu5vLoFpmOjq1Znc1H3SEx1X+znmZhqVj17n x65g== X-Gm-Message-State: AOAM533C8pgqQ1fjhkzqxZ9kFVXNN3mwur43eisz2qk+3uA4ktZXpTfx uG4b/adNK/O1tZhRtEPuKggn6g== X-Google-Smtp-Source: ABdhPJxkoaJuNexJpCrHKYzLvUJZ5k7geOB61CrkDxGTuYPyfofe3dKyIbe3i1wo/MMndSBnqkrYzA== X-Received: by 2002:a05:6214:15c1:: with SMTP id p1mr20891935qvz.9.1630270183207; Sun, 29 Aug 2021 13:49:43 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-8054-417e-d97b-7576.res6.spectrum.com. [2603:6081:7b01:cbda:8054:417e:d97b:7576]) by smtp.gmail.com with ESMTPSA id g12sm9606317qkm.112.2021.08.29.13.49.42 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Aug 2021 13:49:42 -0700 (PDT) Date: Sun, 29 Aug 2021 16:49:40 -0400 From: Tom Rini To: Sean Anderson Cc: u-boot@lists.denx.de Subject: Re: [PATCH] Convert CONFIG_SYS_MALLOC_LEN to Kconfig Message-ID: <20210829204940.GI858@bill-the-cat> References: <20210829013449.23243-1-trini@konsulko.com> <383c9d24-92fb-7f6b-72b4-0c95c7ab0a12@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PyY9nqS/E9/W83/4" Content-Disposition: inline In-Reply-To: <383c9d24-92fb-7f6b-72b4-0c95c7ab0a12@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --PyY9nqS/E9/W83/4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 29, 2021 at 01:02:54PM -0400, Sean Anderson wrote: > On 8/28/21 9:34 PM, Tom Rini wrote: > > This converts the following to Kconfig: > > CONFIG_SYS_MALLOC_LEN > >=20 > > Signed-off-by: Tom Rini [snip] > > diff --git a/Kconfig b/Kconfig > > index a6c42b902f7d..ad700669cc0a 100644 > > --- a/Kconfig > > +++ b/Kconfig > > @@ -249,8 +249,11 @@ config SYS_MALLOC_F_LEN > > config SYS_MALLOC_LEN > > hex "Define memory for Dynamic allocation" > > - depends on ARCH_ZYNQ || ARCH_VERSAL || ARCH_STM32MP || ARCH_ROCKCHIP > > - default 0x2000000 if ARCH_ROCKCHIP > > + default 0x2000000 if ARCH_ROCKCHIP || ARCH_OMAP2PLUS || ARCH_MESON > > + default 0x4020000 if ARCH_SUNXI && !MACH_SUN8I_V3S > > + default 0x200000 if ARCH_BMIPS || X86 > > + default 0x220000 if ARCH_SUNXI && MACH_SUN8I_V3S > > + default 0x400000 > > help > > This defines memory to be allocated for Dynamic allocation > > TODO: Use for other architectures >=20 > Remove TODO? Good point, will do when merging. --=20 Tom --PyY9nqS/E9/W83/4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEr8uAACgkQFHw5/5Y0 tywPhQv/ZSWeSf+XMraoEd/baVqRSk9UVB51BhQLUn3xG/yqvryMctlC+k1ZaH7e eHDdt489/i5quNDvAzHWNjbHABK8lHBQO4rl5edcDYRu8PnO5vqA1sf4A9/N0tjW Xu0JExXTj+pexjXLK+rIJSvNcJXxUyttrazdw8NMWLv4F7r2DLaBJQno2tYK0gW5 M5UdDrWZdp+XJ7grr2406NqyK564vdCSecGKdQxUroaz5rL+ixRa5ZMdY2LspnuM SgyG3PUtRhBZBOCWJVks3Gd9tGoAKSxYewMviiR/dMdpaWGf25nAcsUN5U/GOfVd My25jiQ/VO+6fBbrYxAfGk9ADnAc0c3SD7lqM/zR4rNrRrAPWV2zgc0MZmOnAnvx JgRb8fo2D39uZ/4G9Pz1Q8ZZCzm6g+TCXfp3vNfn3pvAszPfdACCkr+p/C1iwHzj JeONX9BdYgp27vJwwnxPEwjcGRWxTqO9q547SGBSOD9qgEfjO5uc7EnO7h4P7Mzi jt641hdL =vbPa -----END PGP SIGNATURE----- --PyY9nqS/E9/W83/4--