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 D649DC433EF for ; Fri, 22 Apr 2022 17:52:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF3F08393B; Fri, 22 Apr 2022 19:52:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca 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=akkea.ca header.i=@akkea.ca header.b="QgI9x6DU"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="w9Bdjs//"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8BEE682A3A; Fri, 22 Apr 2022 19:52:35 +0200 (CEST) Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) (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 71D6E8393B for ; Fri, 22 Apr 2022 19:52:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus@akkea.ca Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 07BBA4E2006; Fri, 22 Apr 2022 17:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1650649950; bh=wZO5vAJqzlI/seOMuak+nphfim0jgteZE8xD5y4tAiQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=QgI9x6DU603H+qkVfca0fA8vsvjwpsoY81FUMrHqjsaZ9BTH17fL3HBO4YgOQhBJv q0qZt4gv2vTEwrTiA89W2u4YHJz9ypuVA6zwWIgNRqyGENeRtn6FZwH+7/CEedi1ua PpYBbxS207YJztxJvjnZ6O12744KUGpgpBMSVuTY= Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kk9kOIxYrdXC; Fri, 22 Apr 2022 17:52:29 +0000 (UTC) Received: from www.akkea.ca (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 737D54E2003; Fri, 22 Apr 2022 17:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1650649949; bh=wZO5vAJqzlI/seOMuak+nphfim0jgteZE8xD5y4tAiQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=w9Bdjs//JpdS8FioHwPTATVwN5GxQ9uXwbITBmi6jNsA1j1KL8Rn65ueTnJVYL5gr n2TEmoMyhP5pSeFRJ8DNKu/rYEhdod724T/LJmoPmgoKZIPH3gzdkBewUxy4iXhIsl Qura/mprQxMmXAE3y5xVpPyPWRUt8JXrzBP0ngTo= MIME-Version: 1.0 Date: Fri, 22 Apr 2022 10:52:29 -0700 From: Angus Ainslie To: Stefano Babic Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, festevam@gmail.com, peng.fan@nxp.com, marcel.ziswiler@toradex.com, t.remmet@phytec.de, tharvey@gateworks.com, jagan@amarulasolutions.com, iliev@ronetix.at, kernel@puri.sm, trini@konsulko.com, Sebastian Krzyszkowiak Subject: Re: [PATCH v3] board: purism: add the Purism Librem5 phone In-Reply-To: <03db3843-d4ad-7533-b26c-d0222ff59fb8@denx.de> References: <20220420181300.973331-1-angus@akkea.ca> <03db3843-d4ad-7533-b26c-d0222ff59fb8@denx.de> Message-ID: X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.17 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 On 2022-04-22 02:15, Stefano Babic wrote: > Hi Angus, > > On 20.04.22 20:13, Angus Ainslie wrote: >> Initial commit of Librem5 u-boot and SPL >> [snip] > > > After merging a patch on dwc3, build reports some warnings (functions > defined and not used). Could you fix them ? > This patch should silence the warnings https://lists.denx.de/pipermail/u-boot/2022-April/482313.html [snip] >> + >> +#define CONFIG_MMCROOT "/dev/mmcblk0p2" /* USDHC1 */ > > You do not use this in your code, and this variable was drop in > another series and it is not more in the whitelist. Simply drop the > line. > > I'll fix that up in v4 Thanks Angus >> + >> +#define CONFIG_SYS_SDRAM_BASE 0x40000000 >> +#define PHYS_SDRAM 0x40000000 >> +#define PHYS_SDRAM_SIZE 0xc0000000 /* 3GB LPDDR4 one Rank */ >> + >> +/* Monitor Command Prompt */ >> +#define CONFIG_SYS_CBSIZE 1024 >> +#define CONFIG_SYS_MAXARGS 64 >> +#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE >> +#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ >> + sizeof(CONFIG_SYS_PROMPT) + 16) >> +#define CONFIG_SYS_FSL_ESDHC_ADDR 0 >> + >> +#endif > > Best regards, > Stefano