Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 918E2C433EF for ; Wed, 23 Mar 2022 14:48:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3497183B20; Wed, 23 Mar 2022 15:48:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="OV7taDW/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A538983F52; Wed, 23 Mar 2022 15:48:34 +0100 (CET) Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) (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 048F483B1A for ; Wed, 23 Mar 2022 15:48:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=festevam@gmail.com Received: by mail-oo1-xc31.google.com with SMTP id p10-20020a056820044a00b00320d7d4af22so266550oou.4 for ; Wed, 23 Mar 2022 07:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uT8kYHr8Fw7BBJhnJ8uGFdtoT21Tg/SF5m+gQtWTl/k=; b=OV7taDW/6ohTcglUdpicN/Smq43ehz6V/y/gFc56bfuAwfvAafZz7qXc1PI8Myi1+M 94nLrqUbM/UYE+vbMGnsEFQeaWdx54GAWAwKZrNvWIxq/B8dvbvBx9w32TunumNzpeyx ypB8Kj2mm+SI21TT2BeUPthyRD92DrIbfKNVGKjQsQbg3+YsA89OV2E3wFqewqTjxA2f y0FreOGRyiqpl/lCW0nJB8iv8chanOqDRxF07mEI7ojQIgf2F1I9NuzfF7yrew8o6zU6 hR7gMK+Ay5TciszQ+qhHypuCsCZgP1pN/wrmcQwnpKHmFGDYR+rx1Nb1bYDKWGxrjJBZ mS9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uT8kYHr8Fw7BBJhnJ8uGFdtoT21Tg/SF5m+gQtWTl/k=; b=rtrs9uy+SbjbvIBcMP6ZZYGPg7r1vYULL69tbuRNjd9qF0/aNhupEObhg/vVLl58SS SuVXGeiDrby3fWA9qztfn7nhX1+mxdc7jFMNzBU6HRY1OeVzfyay9MPz3wY+Oexbb3vS yt30CE9amUu0MBJ0BY5VYv26+JlwlZ2KoU7yLlEMj1PSI0VwOV0cQbDySTbypoMXs9Eq z6dy/LdhKg20gZ3eiXbobWjIAx9xD7/1PZxZnDto+fRsWYJUPh+JSPFfPRM2Tjkh92bC i78C/TvuynsCltTKTIaQate74gvADMzfE3896RmBXjM2ps9X0xSc0CnG03oeo54k/6ih UhVg== X-Gm-Message-State: AOAM533j/7zh8Kfy+9g18EAZxErQP5k6396jPtkOq3d3e5oNwSx7uZYQ LjR7a98vwTCTBBrd5Wf5JGs= X-Google-Smtp-Source: ABdhPJwDQ1e6PQ9p6MOEM/Kgev3QyKv8XxzxuO6NmtFZusdBUIlqruKNfxmmaMp2CqYx4+OG2UMlLQ== X-Received: by 2002:a4a:ce84:0:b0:321:17f6:eae6 with SMTP id f4-20020a4ace84000000b0032117f6eae6mr152626oos.5.1648046909692; Wed, 23 Mar 2022 07:48:29 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:485:4b69:7259:1216:b8ff:6760]) by smtp.gmail.com with ESMTPSA id l6-20020a056871068600b000de177f2007sm44147oao.37.2022.03.23.07.48.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 07:48:29 -0700 (PDT) From: Fabio Estevam To: sbabic@denx.de Cc: u-boot@lists.denx.de, heiko.thiery@gmail.com, xypron.glpk@gmx.de, trini@konsulko.com, aford173@gmail.com, Fabio Estevam Subject: [PATCH] imx8m: Use a sane SYS_MALLOC_F_LEN default Date: Wed, 23 Mar 2022 11:47:44 -0300 Message-Id: <20220323144744.802703-1-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean From: Fabio Estevam When adding new features to imx8m boards, such as DM clock support, the malloc area can be exhausted. To avoid such issue, provide a reasonable default for the SYS_MALLOC_F_LEN size. Suggested-by: Heinrich Schuchardt Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/imx8m/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index fae704999533..c7b7121fa845 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -21,6 +21,9 @@ config IMX8MP bool select IMX8M +config SYS_MALLOC_F_LEN + default 0x10000 + config SYS_SOC default "imx8m" -- 2.25.1