From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jX1mz-0000wy-Vo for barebox@lists.infradead.org; Fri, 08 May 2020 12:07:39 +0000 Date: Fri, 8 May 2020 14:07:31 +0200 From: Sascha Hauer Message-ID: <20200508120731.GL5877@pengutronix.de> References: <20200427071351.467859-1-ahmad@a3f.at> <20200427080727.GO5877@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/3] ARM: i.MX: boot: correctly handle SRC_SBMR1 override via SRC_GPR9 To: Ahmad Fatoum Cc: barebox@lists.infradead.org, Ahmad Fatoum On Fri, May 08, 2020 at 08:41:41AM +0200, Ahmad Fatoum wrote: > Hello, > > On 4/27/20 10:28 AM, Ahmad Fatoum wrote: > > Hello, > > > > On 4/27/20 10:07 AM, Sascha Hauer wrote: > >> On Mon, Apr 27, 2020 at 09:13:49AM +0200, Ahmad Fatoum wrote: > >>> `mw 0x20d8040 0x08000030; mw 0x20d8044 0x10000000; reset` issued on an > >>> i.MX6Q forces boot from the ecspi1. This is because the BootROM reads > >>> the boot mode out of SRC_GPR9 instead of SRC_SBMR1 whenever SRC_GPR10 > >>> has its 28th bit set. > >> > >> Is this documented somewhere? The reference Manual marks SRC_GPR9 and > >> SRC_GPR10 as > >> > >> | This register is used by the ROM code and should not be used > >> | by application software. > > Seems it's indeed documented in the IMX6ULRM (Rev.2 03/27). > See Table 8-6. Persistent bits. > > Can the patches be applied or do you need me to change something? I just merged them Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox