From patchwork Wed Oct 6 09:56:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537029 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=uIS1rBEX; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVHV59kmz9sNH for ; Wed, 6 Oct 2021 20:57:26 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 22E3183252; Wed, 6 Oct 2021 11:57:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="uIS1rBEX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5A6B683303; Wed, 6 Oct 2021 11:57:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 172EF8324B for ; Wed, 6 Oct 2021 11:56:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514214; x=1636106214; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/pXqN/Q0ia1AoohnAbEftuW6Vn7Dd6gTU5biVuW1g/c=; b=uIS1rBEX/TPamBdVDtdhSG5AMy34iIHzQBATf4bvxqsqAV8HncgsAFxB+e4uIcBH 2y72q654ksipt81Jx4MbAOgNnOsMW+E4XaM1KnuMcWKoQ9+YVYGzTX+FEBoTfxGg ZIz1+JBqr50bUsN547LwylQxD5Q+vOI3uIuSq81a54Y=; X-AuditID: c39127d2-c63ec70000001d24-29-615d72e66c42 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 1D.82.07460.6E27D516; Wed, 6 Oct 2021 11:56:54 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565457-1832251 ; Wed, 6 Oct 2021 11:56:54 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 1/9] board: phytec: phycore_imx8mm: Clean up spl Date: Wed, 6 Oct 2021 11:56:46 +0200 Message-Id: <20211006095654.978408-2-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:54, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:54 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsWyRoCBS/dZUWyiwbEjlhYPr/pbfNk0gc3i x6ovrBbtp3ws3u7tZLeY8ng9uwObx9qP91k95s06weKxc9Zddo+zd3Ywemx8t4MpgDWKyyYl NSezLLVI3y6BK+PS5w/MBf/5K+4tms3UwLiYt4uRg0NCwETiZbtLFyMXh5DANkaJW4v72LoY OYGc84wSbx6bgdhsAhoST1ecZgKxRQQkJH71X2UEaWAW2MUoMXPNUWaQhLCAg8SXpW2MIDaL gIrE57knWUFsXgELiaXzVrGA2BIC8hIzL31nB7E5BSwl/nQ9YIFYZiGx8uoTJoh6QYmTM5+w gCyQELjCKPHv0D42iGYhidOLz4ItYxbQlli28DXzBEaBWUh6ZiFJLWBkWsUolJuZnJ1alJmt V5BRWZKarJeSuokRGLyHJ6pf2sHYN8fjECMTB+MhRgkOZiUR3nz72EQh3pTEyqrUovz4otKc 1OJDjNIcLErivPd7mBKFBNITS1KzU1MLUotgskwcnFINjGyvXyVK60Tyc0jkRodNvznX6AzL 6VnrTvHuEz7kdX3tp4oDi38J/TFkedZ4e+GmF38+pQUY7t2hqj1/93n/qEQGkWXm0p81vnG/ m8IxoVhTnU3g2ybdJ7/ncl2r3Oir9mTNwufF05nl/kg/3ZpzS3Ga58bVbQ2xCnqyGibqV6sW 3HXyuP9mR6QSS3FGoqEWc1FxIgCSZ3yuTAIAAA== 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 Remove not needed code in the spl board code. Signed-off-by: Teresa Remmet --- board/phytec/phycore_imx8mm/spl.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/board/phytec/phycore_imx8mm/spl.c b/board/phytec/phycore_imx8mm/spl.c index 64f0780f6e65..d54145ef995c 100644 --- a/board/phytec/phycore_imx8mm/spl.c +++ b/board/phytec/phycore_imx8mm/spl.c @@ -12,8 +12,6 @@ #include #include #include -#include -#include #include #include #include @@ -39,7 +37,7 @@ int spl_board_boot_device(enum boot_device boot_dev_spl) } } -void spl_dram_init(void) +static void spl_dram_init(void) { ddr_init(&dram_timing); } @@ -54,15 +52,10 @@ void spl_board_init(void) puts("Normal Boot\n"); } -#ifdef CONFIG_SPL_LOAD_FIT int board_fit_config_name_match(const char *name) { - /* Just empty function now - can't decide what to choose */ - debug("%s: %s\n", __func__, name); - return 0; } -#endif #define UART_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_FSEL1) #define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_ODE) @@ -91,7 +84,6 @@ int board_early_init_f(void) void board_init_f(ulong dummy) { - struct udevice *dev; int ret; arch_cpu_init(); @@ -100,8 +92,6 @@ void board_init_f(ulong dummy) board_early_init_f(); - timer_init(); - preloader_console_init(); /* Clear the BSS. */ @@ -113,13 +103,6 @@ void board_init_f(ulong dummy) hang(); } - ret = uclass_get_device_by_name(UCLASS_CLK, - "clock-controller@30380000", &dev); - if (ret < 0) { - printf("Failed to find clock node. Check device tree\n"); - hang(); - } - enable_tzc380(); /* DDR initialization */ From patchwork Wed Oct 6 09:56:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537030 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=bEKYa1oo; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVHt2S88z9sNH for ; Wed, 6 Oct 2021 20:57:46 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 944B7832EA; Wed, 6 Oct 2021 11:57:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="bEKYa1oo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1FC6D83304; Wed, 6 Oct 2021 11:57:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3629E83259 for ; Wed, 6 Oct 2021 11:56:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514215; x=1636106215; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=h0pycQgqlsA98dahNdQAyO3dMMYrL1xh249lxAzxcw4=; b=bEKYa1ooXHFIIPfKLzeTa3Bs5yU7HZgyNdJiEWKPfnbbv+ZndG+ZUna6VyxTAGb3 EXJssxZobnlWwebzORWI9SWVZOap30eSE+VczKuWtdipxVLVOsvmYIDkex4fXcVP qpcYPl50e7CJCx90HOPmmFP0I+CHJHKaWSywQ5w8d7g=; X-AuditID: c39127d2-c275470000001d24-2a-615d72e717d8 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 8D.82.07460.7E27D516; Wed, 6 Oct 2021 11:56:55 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565482-1832252 ; Wed, 6 Oct 2021 11:56:54 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 2/9] include: configs: phycore_imx8mm: Remove hard coded network settings Date: Wed, 6 Oct 2021 11:56:47 +0200 Message-Id: <20211006095654.978408-3-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:55, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:55 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsWyRoCBS/d5UWyiQWcfp8XDq/4WXzZNYLP4 seoLq0X7KR+Lt3s72S2mPF7P7sDmsfbjfVaPebNOsHjsnHWX3ePsnR2MHhvf7WAKYI3isklJ zcksSy3St0vgyvj/cDdbwSr2ik/nTrM2MK5g62Lk5JAQMJGYsKUZyObiEBLYxiix5/N+dgjn PJDz5D4TSBWbgIbE0xWnwWwRAQmJX/1XGUGKmAV2MUrMXHOUGSQhLBAp8XrnDRYQm0VAReLA 94tgK3gFLCSm9K5nhlgnLzHz0nd2EJtTwFLiT9cDsHohoJqVV58wQdQLSpyc+YQFov4Ko8Tm BckQtpDE6cVnweYwC2hLLFv4mnkCo8AsJC2zkKQWMDKtYhTKzUzOTi3KzNYryKgsSU3WS0nd xAgM38MT1S/tYOyb43GIkYmD8RCjBAezkghvvn1sohBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe +z1MiUIC6YklqdmpqQWpRTBZJg5OqQbGMPFfxg/uFm7LV/0nv6rvnfbks01LbK7l7tr/12y+ 0YdLoaICXzR2VLnNuNX3Si5U33KSelbAQ65jQdNnz/fc3XzhVjtbevyh/lOvXZYtNpLbnfI+ iUPZzV1Y/BqP2s8lS+L7Husy6EtFqjXO93NZuUyuKaLoBFvK0x9/bRtuykRlM+nIlE5RYinO SDTUYi4qTgQARwKqgE0CAAA= 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 Remove ip address and server ip from board config as they should not be added hardcoded. Signed-off-by: Teresa Remmet --- include/configs/phycore_imx8mm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/configs/phycore_imx8mm.h b/include/configs/phycore_imx8mm.h index 8d1fd153f62f..aa879122e844 100644 --- a/include/configs/phycore_imx8mm.h +++ b/include/configs/phycore_imx8mm.h @@ -37,10 +37,7 @@ "console=ttymxc2,115200\0" \ "fdt_addr=0x48000000\0" \ "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \ - "ipaddr=192.168.3.11\0" \ - "serverip=192.168.3.10\0" \ - "netmask=255.225.255.0\0" \ - "ip_dyn=no\0" \ + "ip_dyn=yes\0" \ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \ "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \ "mmcroot=2\0" \ From patchwork Wed Oct 6 09:56:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537031 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=qpQWHctK; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVHz5Chtz9sNH for ; Wed, 6 Oct 2021 20:57:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 07C8F83273; Wed, 6 Oct 2021 11:57:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="qpQWHctK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 589CD832EA; Wed, 6 Oct 2021 11:57:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 797368327C for ; Wed, 6 Oct 2021 11:56:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514215; x=1636106215; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+/IgHSlYDZjVbMfHsDXa5q3CtLJBV19sPqsJbkcw/A0=; b=qpQWHctKusGEf2WEuqEGTxo0dUMQGqYVZpCPR1SbFhB+dexDon5MpYpd68+gD9IQ KnYJA5Kq9yZu+fT9aQCNyaqNIstVpxd7xpIyPrVACCdC486ADw0OPCxp5pE7jTV4 +eXLZtZhqc4J6xzOgp50ZL02cafMLL5phNUKvezyLU4=; X-AuditID: c39127d2-c63ec70000001d24-2b-615d72e745da Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id FD.82.07460.7E27D516; Wed, 6 Oct 2021 11:56:55 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565507-1832253 ; Wed, 6 Oct 2021 11:56:55 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 3/9] include: configs: phycore-imx8mm: Remove not needed defines Date: Wed, 6 Oct 2021 11:56:48 +0200 Message-Id: <20211006095654.978408-4-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:55, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:55 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsWyRoCBS/d5UWyiwalOKYuHV/0tvmyawGbx Y9UXVov2Uz4Wb/d2sltMebye3YHNY+3H+6we82adYPHYOesuu8fZOzsYPTa+28EUwBrFZZOS mpNZllqkb5fAlXH35He2gqlcFRPvHWZvYLzD0cXIySEhYCKxfcVO5i5GLg4hgW2MEq8Od7FC OOcZJfbu+MwKUsUmoCHxdMVpJhBbREBC4lf/VUaQImaBXYwSM9ccZQZJCAsESDyYcRCsiEVA ReLCy4ssIDavgIVEW/tbJoh18hIzL31nB7E5BSwl/nQ9AKsRAqpZefUJE0S9oMTJmU9YIOqv MEpsXpAMYQtJnF58FmwXs4C2xLKFr5knMArMQtIyC0lqASPTKkah3Mzk7NSizGy9gozKktRk vZTUTYzA8D08Uf3SDsa+OR6HGJk4GA8xSnAwK4nw5tvHJgrxpiRWVqUW5ccXleakFh9ilOZg URLnvd/DlCgkkJ5YkpqdmlqQWgSTZeLglGpgZM6x3dpy3/6CEpfUkoxLfU8LhH4snnfJdlFJ O5e/hLucee3TUkmRiSYul+avZKvQ2nftR7nvl1jmKAlT9+2XbzpmZW9q8j22iTutK2Lr/mb1 Y0tOnJk153YEU1LiDdN9K8S+S+uU8OompvCJpG7ac0MxWY2vgH3L/agdXgt7LC5OP/X5yPul SizFGYmGWsxFxYkAZJqHKk0CAAA= 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 Remove obsolet defines in phycore_imx8mm.h. Signed-off-by: Teresa Remmet --- include/configs/phycore_imx8mm.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/include/configs/phycore_imx8mm.h b/include/configs/phycore_imx8mm.h index aa879122e844..b13787bc2471 100644 --- a/include/configs/phycore_imx8mm.h +++ b/include/configs/phycore_imx8mm.h @@ -98,23 +98,14 @@ #define CONFIG_MXC_UART_BASE UART3_BASE_ADDR /* Monitor Command Prompt */ -#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_SYS_CBSIZE SZ_2K #define CONFIG_SYS_MAXARGS 64 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ - sizeof(CONFIG_SYS_PROMPT) + 16) + /* USDHC */ #define CONFIG_FSL_USDHC #define CONFIG_SYS_FSL_USDHC_NUM 2 #define CONFIG_SYS_FSL_ESDHC_ADDR 0 #define CONFIG_SYS_MMC_IMG_LOAD_PART 1 -/* ENET1 */ -#define CONFIG_ETHPRIME "FEC" -#define CONFIG_FEC_XCV_TYPE RGMII -#define CONFIG_FEC_MXC_PHYADDR 0 -#define FEC_QUIRK_ENET_MAC -#define IMX_FEC_BASE 0x30BE0000 - #endif /* __PHYCORE_IMX8MM_H */ From patchwork Wed Oct 6 09:56:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537032 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=BE8VzoSJ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVJD238Lz9sNH for ; Wed, 6 Oct 2021 20:58:04 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C141F832AD; Wed, 6 Oct 2021 11:57:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="BE8VzoSJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 868B483303; Wed, 6 Oct 2021 11:57:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B58E183281 for ; Wed, 6 Oct 2021 11:56:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514215; x=1636106215; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=m5oRLsmeRurPWbaDqpzv7S5MuZKhb9Qdd8aPq6MjUDc=; b=BE8VzoSJe/l1Jn24KsJ7JvEI07iiq9Z8ChV/8OLFlrYs6tGDRMHb4wcjy9uqGR4I wwrFl+GvnMMGXNsGmFCuf1VToavYnMOI07RvlhAjiDdf5mNJpOct46z8zrLAQUQ4 xUjlZDU4DZF8jOW+v2r3YC1p3P03xVPw0XZWI8Qzwzw=; X-AuditID: c39127d2-c275470000001d24-2c-615d72e727d5 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 6E.82.07460.7E27D516; Wed, 6 Oct 2021 11:56:55 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565532-1832254 ; Wed, 6 Oct 2021 11:56:55 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 4/9] include: configs: phycore-imx8mm: Do not use macro for address Date: Wed, 6 Oct 2021 11:56:49 +0200 Message-Id: <20211006095654.978408-5-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:55, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:55 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsWyRoCBS/d5UWyiwdkHahYPr/pbfNk0gc3i x6ovrBbtp3ws3u7tZLeY8ng9uwObx9qP91k95s06weKxc9Zddo+zd3Ywemx8t4MpgDWKyyYl NSezLLVI3y6BK+PEikbGglOsFQefFDYwnmXpYuTkkBAwkXhw7D2QzcUhJLCNUeLuqb1sEM55 RonHf3uZQarYBDQknq44zQRiiwhISPzqv8oIUsQssItRYuaao2BFwgLBEssb34ONZRFQkdjy YC8jiM0rYCGxu3k2E8Q6eYmZl76zg9icApYSf7oegNULAdWsvPqECaJeUOLkzCdQ511hlNi8 IBnCFpI4vfgs2C5mAW2JZQtfM09gFJiFpGUWktQCRqZVjEK5mcnZqUWZ2XoFGZUlqcl6Kamb GIHBe3ii+qUdjH1zPA4xMnEwHmKU4GBWEuHNt49NFOJNSaysSi3Kjy8qzUktPsQozcGiJM57 v4cpUUggPbEkNTs1tSC1CCbLxMEp1cCYZ90aIqF4xe11R0/trhOpIk7i3XO3526+6/nKdfPD xsdzldXydrj4Tig837D+QetHMwMnnpUzWlw3Zgq/j7t0/lEmv+tXwaOnNaYoSay897v+jmOx iqDXlfV+O0/NkFXVndA2t1d0pZtV+HRG9YKlPw2EW+Z/8lA6uvLq5nvfxLYHSp4uDTulxFKc kWioxVxUnAgANL+JiUwCAAA= 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 Do not use size macros for addesses. So convert PHYS_SDRAM to address. No functional change. Signed-off-by: Teresa Remmet --- include/configs/phycore_imx8mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/phycore_imx8mm.h b/include/configs/phycore_imx8mm.h index b13787bc2471..e74f2b27954f 100644 --- a/include/configs/phycore_imx8mm.h +++ b/include/configs/phycore_imx8mm.h @@ -91,7 +91,7 @@ #define CONFIG_SYS_SDRAM_BASE 0x40000000 -#define PHYS_SDRAM SZ_1G +#define PHYS_SDRAM 0x40000000 #define PHYS_SDRAM_SIZE SZ_2G /* 2GB DDR */ /* UART */ From patchwork Wed Oct 6 09:56:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537033 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=YaWWnJVJ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVJS1hfZz9sNH for ; Wed, 6 Oct 2021 20:58:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AAD54832E0; Wed, 6 Oct 2021 11:57:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="YaWWnJVJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DF86F83257; Wed, 6 Oct 2021 11:57:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 06EE9832A1 for ; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514215; x=1636106215; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qVSOJMYn2uEWZuIIq2CkH4GqbtwHA9+39wQRiHUHa6U=; b=YaWWnJVJJ5cVIzh5oYZHMwSkNG8ufCf39bpe8zL3clD7Z5/Rg1Bi+VpaitK7Jr6Z GCKsXAqjBPkhbRBYMVhbiO1AQ0VYtQ9MFQwVM/dk1DleDK6ftGTuYrbbam0nbaRp YUCfcg6DSmiB6UgZqQATY027GMgnFSwWFx51/mag9Zk=; X-AuditID: c39127d2-c63ec70000001d24-2d-615d72e7cae9 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id DE.82.07460.7E27D516; Wed, 6 Oct 2021 11:56:55 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565557-1832255 ; Wed, 6 Oct 2021 11:56:55 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 5/9] arm: dts: phycore-imx8mm-u-boot: Add wdog pinctrl entry Date: Wed, 6 Oct 2021 11:56:50 +0200 Message-Id: <20211006095654.978408-6-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:55, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:55 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsWyRoCBS/d5UWyiwf8PFhYPr/pbfNk0gc3i x6ovrBbtp3ws3u7tZLeY8ng9uwObx9qP91k95s06weKxc9Zddo+zd3Ywemx8t4MpgDWKyyYl NSezLLVI3y6BK6Pp+ne2gvUsFe9uXGJsYLzG3MXIySEhYCJx5Monli5GLg4hgW2MEuuP7GeC cM4zSrS//MMCUsUmoCHxdMVpJhBbREBC4lf/VUaQImaBXYwSM9ccBRslLOAjMefbQTYQm0VA ReLn2k1gcV4BC4l991axQ6yTl5h56TuYzSlgKfGn6wHYAiGgmpVXnzBB1AtKnJz5hAWi/gqj xOYFyRC2kMTpxWfBZjILaEssW/iaeQKjwCwkLbOQpBYwMq1iFMrNTM5OLcrM1ivIqCxJTdZL Sd3ECAzfwxPVL+1g7JvjcYiRiYPxEKMEB7OSCG++fWyiEG9KYmVValF+fFFpTmrxIUZpDhYl cd77PUyJQgLpiSWp2ampBalFMFkmDk6pBkb7hRwP2iqPaekdfR6kbrn5l+muj9KPVi6ZbGGm 8G7zyiVfb62aKxR6JEKAgT1uzp0/DKVr+V+wX+zcZ6L8OlZV+vSRy/XTXVd6LX6zYofb0eRI vYnz5efPid7QOYVRdM+pA2ozGyIbHiYHJ63v91So0U/0WDvz7r0rxlKx9ad7eVrWaEk3HvVR YinOSDTUYi4qTgQAQvhLnE0CAAA= 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 Add missing pinctrl entry in spl. Signed-off-by: Teresa Remmet --- arch/arm/dts/phycore-imx8mm-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/phycore-imx8mm-u-boot.dtsi b/arch/arm/dts/phycore-imx8mm-u-boot.dtsi index 91515b8df9a0..7c2dfb4a273c 100644 --- a/arch/arm/dts/phycore-imx8mm-u-boot.dtsi +++ b/arch/arm/dts/phycore-imx8mm-u-boot.dtsi @@ -30,6 +30,10 @@ u-boot,dm-spl; }; +&pinctrl_wdog { + u-boot,dm-spl; +}; + &gpio1 { u-boot,dm-spl; }; From patchwork Wed Oct 6 09:56:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537034 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=OCCXBfVF; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVJh5y8Mz9sNH for ; Wed, 6 Oct 2021 20:58:28 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 708F083310; Wed, 6 Oct 2021 11:57:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="OCCXBfVF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1AAE6831DB; Wed, 6 Oct 2021 11:57:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 49F73832AD for ; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514216; x=1636106216; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=n/KLHPE5ShCNeRlkwTF6CFNOtz1kICom7xw5up9dGSQ=; b=OCCXBfVFy1rxH+JWAsA8hFpZ6CCHBSI3AtpoGHTzikw39YBk7hSFyq23ywfQLTls JKNinUNVqlE9si6QiEm61A+zyWOigwET+2NzsDLxDrhGb9wJqb8G7DvWHS0ADjED L5UwfLlbwFH625S8Xr4usd9rZfEIV4kxjNe4Vs/potw=; X-AuditID: c39127d2-c275470000001d24-2e-615d72e8a568 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 4F.82.07460.8E27D516; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565582-1832256 ; Wed, 6 Oct 2021 11:56:55 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 6/9] arm: dts: phycore-imx8mm: Fix property Date: Wed, 6 Oct 2021 11:56:51 +0200 Message-Id: <20211006095654.978408-7-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:56, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:56 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsWyRoCBS/dFUWyiwb2LHBYPr/pbfNk0gc3i x6ovrBbtp3ws3u7tZLeY8ng9uwObx9qP91k95s06weKxc9Zddo+zd3Ywemx8t4MpgDWKyyYl NSezLLVI3y6BK+PRg6MsBS9YKqYc3cvSwNjO0sXIySEhYCJx6/VF1i5GLg4hgW2MEhNePGCE cM4zShxc/5sJpIpNQEPi6YrTYLaIgITEr/6rYEXMArsYJWauOcoMkhAWsJb4fWwnG4jNIqAi 8e7RDKAiDg5eAQuJ2SsqIbbJS8y89J0dxOYUsJT40/UA7AohoJKVV5+AzecVEJQ4OfMJC8h8 CYErjBIPp85gh2gWkji9+CzYLmYBbYllC18zT2AUmIWkZxaS1AJGplWMQrmZydmpRZnZegUZ lSWpyXopqZsYgeF7eKL6pR2MfXM8DjEycTAeYpTgYFYS4c23j00U4k1JrKxKLcqPLyrNSS0+ xCjNwaIkznu/hylRSCA9sSQ1OzW1ILUIJsvEwSnVwOj4asZKBZ83XFoJP447yl1Vk/4r8FT6 c4X6ox2/J7D8cFmxjfXgraVROg+LS324hdnmVL9h+Wj7Un5mzaZKUf7zS46f5D0yQ+b7eZYc AaG3d/fWxqUoT7dcGSC2m8FoQdEvOU2tH7pBnqHZR56rFjDfqW/Zn/x6v8Eua59NJa6ry4Im stx1O6TEUpyRaKjFXFScCACkx+IjTQIAAA== 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 Fix misspelled property "stdout-path". Signed-off-by: Teresa Remmet --- arch/arm/dts/phycore-imx8mm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/phycore-imx8mm.dts b/arch/arm/dts/phycore-imx8mm.dts index c46d3c72ced9..a4332619e5f7 100644 --- a/arch/arm/dts/phycore-imx8mm.dts +++ b/arch/arm/dts/phycore-imx8mm.dts @@ -14,7 +14,7 @@ compatible = "phytec,imx8mm-phycore-som", "fsl,imx8mm"; chosen { - stdout-patch = &uart3; + stdout-path = &uart3; }; reg_usdhc2_vmmc: regulator-usdhc2 { From patchwork Wed Oct 6 09:56:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537035 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=WHkZJqIH; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVJv0sTLz9sNH for ; Wed, 6 Oct 2021 20:58:39 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AB60D83296; Wed, 6 Oct 2021 11:57:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="WHkZJqIH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 132E4831DB; Wed, 6 Oct 2021 11:57:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7A689832BE for ; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514216; x=1636106216; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CNxW7my1s2UnR0F5MWF1WwE5IxiIAfreKb7s79+l4zE=; b=WHkZJqIHykL7lGtgT4HFfZHxyLI2QrXlT5FKmuDbBFcphw+z/4S+INvAeMATbHP2 niHzVisId3D5WTmT6HLc6/lk58ER5gIxXdtlyvHzu/rlc/Kz4RrN9IQBUZHguHOi HoPDTZV50f6L08LVZyGPbRJE9GxHqB+KSJYxXvWyFqk=; X-AuditID: c39127d2-c63ec70000001d24-2f-615d72e815c0 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id BF.82.07460.8E27D516; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565607-1832257 ; Wed, 6 Oct 2021 11:56:56 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 7/9] board: phytec: phycore-imx8mm: Add SPI-NOR flash support Date: Wed, 6 Oct 2021 11:56:52 +0200 Message-Id: <20211006095654.978408-8-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:56, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:56 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsWyRoCBS/dFUWyiwckfEhYPr/pbfNk0gc3i x6ovrBbtp3ws3u7tZLeY8ng9uwObx9qP91k95s06weKxc9Zddo+zd3Ywemx8t4MpgDWKyyYl NSezLLVI3y6BK+Pg0svsBc1SFe3tU9gaGK+IdTFyckgImEgcev6CsYuRi0NIYBujxMRXy9kh nPOMEjfXz2cCqWIT0JB4uuI0mC0iICHxq/8qWAezwC5GiZlrjjKDJIQFfCU6+paDFbEIqEjM vHOOtYuRg4NXwELi6DVGiG3yEjMvfWcHsTkFLCX+dD1gAbGFgEpWXn0C1sorIChxcuYTFpD5 EgJXGCUeTp3BDtEsJHF68VmwXcwC2hLLFr5mnsAoMAtJzywkqQWMTKsYhXIzk7NTizKz9Qoy KktSk/VSUjcxAsP38ET1SzsY++Z4HGJk4mA8xCjBwawkwptvH5soxJuSWFmVWpQfX1Sak1p8 iFGag0VJnPd+D1OikEB6YklqdmpqQWoRTJaJg1OqgbHv4inNbEnvX2xvd13YsMh12h7rm3FL fy55kHvvBu9XdQ3plcdOJ3JUHK2p6ljyWclXdH1z71+ZzSnnHh/P+Ll82stjm5fsmf9V3cun 5Zsnn13e7ns/t53/8bpj79z8zS3XdrDu6rrSOb1Aey5TUUbSJpsI8QPqsbuWR4bcaary5Lxo kySZL5ugxFKckWioxVxUnAgATLOG3k0CAAA= 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 Adds SPI-NOR flash support to erase, read and write in bootloader. Signed-off-by: Teresa Remmet --- arch/arm/dts/phycore-imx8mm.dts | 28 ++++++++++++++++++++++++++++ configs/phycore-imx8mm_defconfig | 19 +++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/arch/arm/dts/phycore-imx8mm.dts b/arch/arm/dts/phycore-imx8mm.dts index a4332619e5f7..e57dfd368d6b 100644 --- a/arch/arm/dts/phycore-imx8mm.dts +++ b/arch/arm/dts/phycore-imx8mm.dts @@ -54,6 +54,23 @@ }; }; +/* SPI nor flash */ +&flexspi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi0>; + status = "okay"; + + flash0: norflash@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + spi-max-frequency = <80000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; +}; + /* i2c eeprom */ &i2c1 { clock-frequency = <400000>; @@ -140,6 +157,17 @@ >; }; + pinctrl_flexspi0: flexspi0grp { + fsl,pins = < + MX8MM_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x1c2 + MX8MM_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x82 + MX8MM_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x82 + MX8MM_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x82 + MX8MM_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x82 + MX8MM_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x82 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig index 91360b7d1a5c..6cb2d368552e 100644 --- a/configs/phycore-imx8mm_defconfig +++ b/configs/phycore-imx8mm_defconfig @@ -29,6 +29,7 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_I2C=y CONFIG_SPL_POWER=y +CONFIG_SPL_SPI_FLASH_MTD=y CONFIG_SPL_WATCHDOG=y CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="u-boot=> " @@ -44,6 +45,7 @@ CONFIG_CMD_FUSE=y CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y +CONFIG_CMD_SF_TEST=y CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y @@ -78,6 +80,20 @@ CONFIG_MMC_UHS_SUPPORT=y CONFIG_MMC_HS400_ES_SUPPORT=y CONFIG_MMC_HS400_SUPPORT=y CONFIG_FSL_ESDHC_IMX=y +CONFIG_MTD=y +CONFIG_DM_MTD=y +CONFIG_DM_SPI_FLASH=y +CONFIG_SF_DEFAULT_BUS=3 +CONFIG_SF_DEFAULT_MODE=0x0 +CONFIG_SF_DEFAULT_SPEED=80000000 +CONFIG_SPI_FLASH_BAR=y +CONFIG_SPI_FLASH_MACRONIX=y +CONFIG_SPI_FLASH_SPANSION=y +CONFIG_SPI_FLASH_STMICRO=y +CONFIG_SPI_FLASH_SST=y +CONFIG_SPI_FLASH_WINBOND=y +# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set +CONFIG_SPI_FLASH_MTD=y CONFIG_PHYLIB=y CONFIG_PHY_TI_DP83867=y CONFIG_DM_ETH=y @@ -91,6 +107,9 @@ CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_GPIO=y CONFIG_MXC_UART=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_NXP_FSPI=y CONFIG_SYSRESET=y CONFIG_SPL_SYSRESET=y CONFIG_SYSRESET_PSCI=y From patchwork Wed Oct 6 09:56:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537036 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=WBueAMbM; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVK65dG8z9sNH for ; Wed, 6 Oct 2021 20:58:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5075283327; Wed, 6 Oct 2021 11:57:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="WBueAMbM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 975B983259; Wed, 6 Oct 2021 11:57:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BCC33832C7 for ; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514216; x=1636106216; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xhcfr8PhgoJ9x17+EfrrVHSgDW/7za2OoGqKq35MBls=; b=WBueAMbMjARl1LSohBLoX6c0y9vJcc1i4DxartNLG1QChpvHPLFX+RQmqBnYX4de PKChYpHJWBIhCqmd0D7x6i0s3p5F1UvYQpyQS6eVcu05G3YF20MvzWL+YDELTjRA m0/i+eSwmhFfhNH0ChGtwOPrKIHokjmwxE3zP9tkqQk=; X-AuditID: c39127d2-c275470000001d24-30-615d72e8c14f Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 20.92.07460.8E27D516; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565632-1832258 ; Wed, 6 Oct 2021 11:56:56 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 8/9] configs: phycore-imx8mm_defconfig: Enable clk command Date: Wed, 6 Oct 2021 11:56:53 +0200 Message-Id: <20211006095654.978408-9-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:56, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:56 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsWyRoCBS/dFUWyiwfs7WhYPr/pbfNk0gc3i x6ovrBbtp3ws3u7tZLeY8ng9uwObx9qP91k95s06weKxc9Zddo+zd3Ywemx8t4MpgDWKyyYl NSezLLVI3y6BK6N540mmgrOsFR3njzM3MP5h6WLk5JAQMJFobvjNCGILCWxjlNiyhL+LkQvI Ps8o8WrHITaQBJuAhsTTFaeZQGwRAQmJX/1XGUGKmAV2MUrMXHOUGSQhLOAl8fJKB1gRi4CK xMp3p9hBbF4BC4lJ2xewQWyTl5h56TtYnFPAUuJP1wMWiM0WEiuvPmGCqBeUODnzCQvIAgmB K4wSD6fOYIdoFpI4vfgs2DJmAW2JZQtfM09gFJiFpGcWktQCRqZVjEK5mcnZqUWZ2XoFGZUl qcl6KambGIHhe3ii+qUdjH1zPA4xMnEwHmKU4GBWEuHNt49NFOJNSaysSi3Kjy8qzUktPsQo zcGiJM57v4cpUUggPbEkNTs1tSC1CCbLxMEp1cDYf3H5zRgJSbEwxaNvMubMeWf5LDU184kT Q+bO0nLr7CerLPX+TpQ7tsuu/6/9wXybjaU7L+3SvpV+1KGlPHVDoEZGx2L7BXwLr51UF7ui 6KJpe9Sp5rvzhpui75znvJ+j1LLpYZPwvdyd/uue/9e/6rCLr9iAP/ynVbLCof1CFjwLd//Y dfakEktxRqKhFnNRcSIAL3EsxU0CAAA= 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 Enable clk command to dump clock tree. Signed-off-by: Teresa Remmet --- configs/phycore-imx8mm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig index 6cb2d368552e..1897cb398ffd 100644 --- a/configs/phycore-imx8mm_defconfig +++ b/configs/phycore-imx8mm_defconfig @@ -41,6 +41,7 @@ CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2 CONFIG_SYS_EEPROM_SIZE=4096 CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=5 CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5 +CONFIG_CMD_CLK=y CONFIG_CMD_FUSE=y CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y From patchwork Wed Oct 6 09:56:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Remmet X-Patchwork-Id: 1537037 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=MQZGMWWv; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HPVKL0q8nz9sNH for ; Wed, 6 Oct 2021 20:59:02 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DB1BD8331F; Wed, 6 Oct 2021 11:57:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="MQZGMWWv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 027DA832C4; Wed, 6 Oct 2021 11:57:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id ED063832CD for ; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1633514216; x=1636106216; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=J1sIEfQHkQQ2WGSHDf6CyVF+000mZUWH9PqEHkugeD8=; b=MQZGMWWv05np85Z054uD5BRaNsjnlyfAcXpSXcGKCUCySeO4Zp92egHWxo43no2Y tikiRTg2QkK7l9dmNTwEenY1agohKETfq8AM+HBhwtmJ2OP0dIZyUffEzJeGIkOj +aC1i9INy4J9Avo+bf9wieESNdaE+rn8IQpS4Gl3bSs=; X-AuditID: c39127d2-c63ec70000001d24-31-615d72e87e50 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 90.92.07460.8E27D516; Wed, 6 Oct 2021 11:56:56 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021100611565659-1832259 ; Wed, 6 Oct 2021 11:56:56 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki Subject: [PATCH 9/9] board: phytec: imx8mm-phycore: Switch to binman Date: Wed, 6 Oct 2021 11:56:54 +0200 Message-Id: <20211006095654.978408-10-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211006095654.978408-1-t.remmet@phytec.de> References: <20211006095654.978408-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:56, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.10.2021 11:56:56 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsWyRoCBS/dFUWyiwbUT5hYPr/pbfNk0gc3i x6ovrBbtp3ws3u7tZLeY8ng9uwObx9qP91k95s06weKxc9Zddo+zd3Ywemx8t4MpgDWKyyYl NSezLLVI3y6BK2PT9MVsBVc0K06dnc/WwPhRoYuRk0NCwETi5++VLF2MXBxCAtsYJfp2XmSE cM4zSvROWsoCUsUmoCHxdMVpJhBbREBC4lf/VbAiZoFdjBIz1xxl7mLk4BAWcJHYOlsNpIZF QEXi0+4nYL28ApYSG04tZobYJi8x89J3dhCbEyj+p+sBWI2QgIXEyqtPmCDqBSVOznwCdpGE wBVGiYdTZ7BDNAtJnF58FmwQs4C2xLKFr5knMArMQtIzC0lqASPTKkah3Mzk7NSizGy9gozK ktRkvZTUTYzA8D08Uf3SDsa+OR6HGJk4GA8xSnAwK4nw5tvHJgrxpiRWVqUW5ccXleakFh9i lOZgURLnvd/DlCgkkJ5YkpqdmlqQWgSTZeLglGpg3PLsAaNZlvCck/LLixx2r3v3yHfuwtLZ fXlPlX/bbu9epnHm1BmFWJ3FZfaKCnxx+55GrN85hfG7mq/LOvVDzOrsAQzHzDfWNSgr8mnO N+mceeWOuJNx2iNFtyeXGDmakqstZJr2iv2Zffmqfwjr3u31h+8ta2ErdXMPja7w9U5deeui y2ZfJZbijERDLeai4kQA9TGSkU0CAAA= 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 Use binman for image creation. Signed-off-by: Teresa Remmet --- arch/arm/dts/phycore-imx8mm-u-boot.dtsi | 122 ++++++++++++++++++ arch/arm/mach-imx/imx8m/Kconfig | 1 + board/phytec/phycore_imx8mm/Kconfig | 2 +- .../phytec/phycore_imx8mm/imximage-8mm-sd.cfg | 9 ++ configs/phycore-imx8mm_defconfig | 2 +- 5 files changed, 134 insertions(+), 2 deletions(-) create mode 100644 board/phytec/phycore_imx8mm/imximage-8mm-sd.cfg diff --git a/arch/arm/dts/phycore-imx8mm-u-boot.dtsi b/arch/arm/dts/phycore-imx8mm-u-boot.dtsi index 7c2dfb4a273c..f842e02c771b 100644 --- a/arch/arm/dts/phycore-imx8mm-u-boot.dtsi +++ b/arch/arm/dts/phycore-imx8mm-u-boot.dtsi @@ -7,6 +7,10 @@ #include "imx8mm-u-boot.dtsi" / { + binman: binman { + multiple-images; + }; + wdt-reboot { compatible = "wdt-reboot"; wdt = <&wdog1>; @@ -69,3 +73,121 @@ &wdog1 { u-boot,dm-spl; }; + +&binman { + u-boot-spl-ddr { + filename = "u-boot-spl-ddr.bin"; + pad-byte = <0xff>; + align-size = <4>; + align = <4>; + + u-boot-spl { + align-end = <4>; + }; + + blob_1: blob-ext@1 { + filename = "lpddr4_pmu_train_1d_imem.bin"; + size = <0x8000>; + }; + + blob_2: blob-ext@2 { + filename = "lpddr4_pmu_train_1d_dmem.bin"; + size = <0x4000>; + }; + + blob_3: blob-ext@3 { + filename = "lpddr4_pmu_train_2d_imem.bin"; + size = <0x8000>; + }; + + blob_4: blob-ext@4 { + filename = "lpddr4_pmu_train_2d_dmem.bin"; + size = <0x4000>; + }; + }; + + spl { + filename = "spl.bin"; + + mkimage { + args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; + + blob { + filename = "u-boot-spl-ddr.bin"; + }; + }; + }; + + itb { + filename = "u-boot.itb"; + + fit { + description = "Configuration to load ATF before U-Boot"; + #address-cells = <1>; + fit,external-offset = ; + + images { + uboot { + description = "U-Boot (64-bit)"; + type = "standalone"; + arch = "arm64"; + compression = "none"; + load = ; + + uboot_blob: blob-ext { + filename = "u-boot-nodtb.bin"; + }; + }; + + atf { + description = "ARM Trusted Firmware"; + type = "firmware"; + arch = "arm64"; + compression = "none"; + load = <0x920000>; + entry = <0x920000>; + + atf_blob: blob-ext { + filename = "bl31.bin"; + }; + }; + + fdt { + description = "NAME"; + type = "flat_dt"; + compression = "none"; + + uboot_fdt_blob: blob-ext { + filename = "u-boot.dtb"; + }; + }; + }; + + configurations { + default = "conf"; + + conf { + description = "NAME"; + firmware = "uboot"; + loadables = "atf"; + fdt = "fdt"; + }; + }; + }; + }; + + imx-boot { + filename = "flash.bin"; + pad-byte = <0x00>; + + spl: blob-ext@1 { + filename = "spl.bin"; + offset = <0x0>; + }; + + uboot: blob-ext@2 { + filename = "u-boot.itb"; + offset = <0x57c00>; + }; + }; +}; diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index ccaf106be5d8..269d9774b558 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -121,6 +121,7 @@ config TARGET_IMX8MN_BEACON config TARGET_PHYCORE_IMX8MM bool "PHYTEC PHYCORE i.MX8MM" + select BINMAN select IMX8MM select SUPPORT_SPL select IMX8M_LPDDR4 diff --git a/board/phytec/phycore_imx8mm/Kconfig b/board/phytec/phycore_imx8mm/Kconfig index 9868e984875e..25e4bf2f8367 100644 --- a/board/phytec/phycore_imx8mm/Kconfig +++ b/board/phytec/phycore_imx8mm/Kconfig @@ -10,6 +10,6 @@ config SYS_CONFIG_NAME default "phycore_imx8mm" config IMX_CONFIG - default "arch/arm/mach-imx/imx8m/imximage-8mm-lpddr4.cfg" + default "board/phytec/phycore_imx8mm/imximage-8mm-sd.cfg" endif diff --git a/board/phytec/phycore_imx8mm/imximage-8mm-sd.cfg b/board/phytec/phycore_imx8mm/imximage-8mm-sd.cfg new file mode 100644 index 000000000000..ea74fb7e590f --- /dev/null +++ b/board/phytec/phycore_imx8mm/imximage-8mm-sd.cfg @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 Phytec Messtechnik GmbH + */ + +#define __ASSEMBLY__ + +BOOT_FROM sd +LOADER u-boot-spl-ddr.bin 0x7E1000 diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig index 1897cb398ffd..c22139874768 100644 --- a/configs/phycore-imx8mm_defconfig +++ b/configs/phycore-imx8mm_defconfig @@ -21,7 +21,7 @@ CONFIG_SYS_LOAD_ADDR=0x40480000 CONFIG_FIT=y CONFIG_FIT_EXTERNAL_OFFSET=0x3000 CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-imx/mkimage_fit_atf.sh" +# CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_SYSTEM_SETUP=y CONFIG_DEFAULT_FDT_FILE="oftree" CONFIG_BOARD_LATE_INIT=y