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 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 71EA8C3DA78 for ; Fri, 13 Jan 2023 18:46:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 046FC85482; Fri, 13 Jan 2023 19:46:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it 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" (2048-bit key; unprotected) header.d=mailserver.it header.i=@mailserver.it header.b="Fln/aGfP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A59DD854B2; Fri, 13 Jan 2023 19:45:57 +0100 (CET) Received: from smtp-out-06.comm2000.it (smtp-out-06.comm2000.it [212.97.32.74]) (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 D951D84B51 for ; Fri, 13 Jan 2023 19:45:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=francesco@dolcini.it Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-06.comm2000.it (Postfix) with ESMTPSA id 20197561DB4; Fri, 13 Jan 2023 19:45:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1673635552; bh=a2aP7R1lz594V5TVhP6FW+QN2aiPUAUQr0JUhJ1j6L0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Fln/aGfPlFDdqt3fxmxd7oP3ACZjuUCq/Yr3/pcZzyUBOUPQ7nOx19JpyiKLYpwpj ogpB4QEcHawT8Z5Hlk2FmiM3cst+ixGDOAEsh+ihFxQbNavC3MfS/7pMSr15dzVbJk tWnpqPL20EoL8s7+Nb26agb6/yaFVhG/bAwxCShgbpJY0hamgcp3PnhYVASXT+AAwS 1ZGyHAlK89aSDQ0UAgrHmZLC8cRpcZ+KuJavfj701Vzpp6x+tMF6lhhUJ00UxOkL+m L+fj/duqknyGVTQyho4ZYTBFpVK5vXkc3DxGWwrBsmKsXrVDOH+OWtOurbWkViWkLz TUrA7jL2dx15g== From: Francesco Dolcini To: Simon Glass , u-boot@lists.denx.de, Marcel Ziswiler Cc: Francesco Dolcini , Marek Vasut , Miquel Raynal Subject: [PATCH v1 2/3] colibri-imx7: specify MTD partitions on command line Date: Fri, 13 Jan 2023 19:45:46 +0100 Message-Id: <20230113184547.487322-3-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230113184547.487322-1-francesco@dolcini.it> References: <20230113184547.487322-1-francesco@dolcini.it> 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.6 at phobos.denx.de X-Virus-Status: Clean From: Francesco Dolcini Disable fdt_fixup_mtdparts(), instead pass MTD partition on the command line. This is the preferred method to be used when partitions are not statically defined into the DTS according the Linux MTD subsystem maintainer. Cc: Marek Vasut Cc: Miquel Raynal Link: https://lore.kernel.org/all/20230105123334.7f90c289@xps-13/ Signed-off-by: Francesco Dolcini --- configs/colibri_imx7_defconfig | 1 - include/configs/colibri_imx7.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/colibri_imx7_defconfig b/configs/colibri_imx7_defconfig index 7e24dcd40090..5cc22a481dd9 100644 --- a/configs/colibri_imx7_defconfig +++ b/configs/colibri_imx7_defconfig @@ -101,4 +101,3 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x4000 CONFIG_CI_UDC=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_OF_LIBFDT_OVERLAY=y -CONFIG_FDT_FIXUP_PARTITIONS=y diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h index c568643977ca..03f8ed14787a 100644 --- a/include/configs/colibri_imx7.h +++ b/include/configs/colibri_imx7.h @@ -141,7 +141,7 @@ "${board}/flash_blk.img && source ${loadaddr}\0" \ "setup=setenv setupargs " \ "console=tty1 console=${console}" \ - ",${baudrate}n8 ${memargs} consoleblank=0\0" \ + ",${baudrate}n8 ${memargs} ${mtdparts} consoleblank=0\0" \ "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ "setusbupdate=usb start && setenv interface usb && " \ "fatload ${interface} 0:1 ${loadaddr} " \ -- 2.25.1