From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 31 May 2023 15:31:49 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q4Lva-004IGB-Ua for lore@lore.pengutronix.de; Wed, 31 May 2023 15:31:49 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1q4LvY-0003k9-DA; Wed, 31 May 2023 15:31:48 +0200 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q4LvU-0003ju-IY; Wed, 31 May 2023 15:31:44 +0200 Received: from rsc by pty.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q4LvU-004Xy1-4J; Wed, 31 May 2023 15:31:44 +0200 Date: Wed, 31 May 2023 15:31:44 +0200 From: Robert Schwebel To: Ahmad Fatoum Message-ID: References: <20230531132049.2151777-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230531132049.2151777-1-a.fatoum@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH] v8a: configure MTD SPI-NOR sector sizes consistently X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: distrokit@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Wed, May 31, 2023 at 03:20:49PM +0200, Ahmad Fatoum wrote: > It must be guaranteed that the option MTD_SPI_NOR_USE_4K_SECTORS is set > consistently between barebox and kernel. If this is not the case bad things > can happen (e.g. inconsistencies in barebox state). > > The platforms we have use MMC by default, but let's take no chances and > do (one of the) right thing(s) by aligning barebox with the kernel, > which is already built with CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y. Thanks, now also testing in next... rsc -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |