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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98F9EC433EF for ; Thu, 21 Oct 2021 05:34:41 +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 1754760F9E for ; Thu, 21 Oct 2021 05:34:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1754760F9E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de 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 867FB834DA; Thu, 21 Oct 2021 07:34:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634794479; bh=N8ne+EkBzhasqHZg1jBJyN1ncG0Nq+KxQAhvBM6cg1A=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Wh5pAR/2Kb1X83xVHdGRflI7sm/F7J6p346EhrtHPEKjXvPahFYX2gI7Fzz+0iqJY 4U3FqrXdXl8hPJJkJJCVShn/xDk+jQ4jzppsYTQdCwp6tMgWO/aguH3DYNg7pVklaY MDQ6mCAWHaZLsPSytaPLw/OoWCWI4Oon/JSegiyGI2xRNqHb42K6dB265gMi0DA2jp u/eJ8OQaOM6MSetu0g+5TRVWNunqodIII8EAk6DuLqfK85b+soXw04hcj96xpuxBzD sPxVerbgONUPLCvu0Rd0VV+IpcPDrYR3x0dl4K6BogJxgkYue4pALYs8RUWbL8rU+i MsPL52JtVifSQ== Received: by phobos.denx.de (Postfix, from userid 109) id D3C7B834E0; Thu, 21 Oct 2021 07:34:37 +0200 (CEST) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [91.198.250.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 136C3834CC for ; Thu, 21 Oct 2021 07:34:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4HZblH0HHjzQjcJ; Thu, 21 Oct 2021 07:34:35 +0200 (CEST) Subject: Re: [PATCH u-boot-marvell 11/12] arm: mvebu: turris_omnia: Move SPL's SYS_MALLOC_SIMPLE to Kconfig To: =?UTF-8?Q?Marek_Beh=c3=ban?= Cc: u-boot@lists.denx.de, pali@kernel.org, =?UTF-8?Q?Marek_Beh=c3=ban?= References: <20211009173346.7859-1-kabel@kernel.org> <20211009173346.7859-12-kabel@kernel.org> From: Stefan Roese Message-ID: <4cc0f2bf-5891-12ce-b478-e9b217e08af9@denx.de> Date: Thu, 21 Oct 2021 07:34:31 +0200 MIME-Version: 1.0 In-Reply-To: <20211009173346.7859-12-kabel@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C91D01899 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 On 09.10.21 19:33, Marek Behún wrote: > From: Marek Behún > > Instead of declaring CONFIG_SYS_MALLOC_SIMPLE dependant on > CONFIG_SPL_BUILD in board config header, select > CONFIG_SPL_SYS_MALLOC_SIMPLE in Kconfig. > > Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan > --- > arch/arm/mach-mvebu/Kconfig | 1 + > include/configs/turris_omnia.h | 4 ---- > 2 files changed, 1 insertion(+), 4 deletions(-) > > diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig > index 54dff9986b..8365305733 100644 > --- a/arch/arm/mach-mvebu/Kconfig > +++ b/arch/arm/mach-mvebu/Kconfig > @@ -128,6 +128,7 @@ config TARGET_TURRIS_OMNIA > select I2C_MUX > select I2C_MUX_PCA954x > select SPL_I2C_MUX > + select SPL_SYS_MALLOC_SIMPLE > select SYS_I2C_MVTWSI > select ATSHA204A > > diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h > index 8646633ea4..562b49327f 100644 > --- a/include/configs/turris_omnia.h > +++ b/include/configs/turris_omnia.h > @@ -36,10 +36,6 @@ > #define CONFIG_SPL_BSS_START_ADDR (0x40000000 + CONFIG_SPL_SIZE) > #define CONFIG_SPL_BSS_MAX_SIZE (16 << 10) > > -#ifdef CONFIG_SPL_BUILD > -#define CONFIG_SYS_MALLOC_SIMPLE > -#endif > - > #define CONFIG_SPL_STACK (0x40000000 + ((192 - 16) << 10)) > #define CONFIG_SPL_BOOTROM_SAVE (CONFIG_SPL_STACK + 4) > #define CONFIG_SPL_DRIVERS_MISC > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de