From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 27 Apr 2015 18:35:30 +0200 Subject: [U-Boot] [RFC PATCH 4/4 v3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset In-Reply-To: <20150425194831.GC18496@amd> References: <1412176391-24475-1-git-send-email-sr@denx.de> <20150425194831.GC18496@amd> Message-ID: <201504271835.30446.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday, April 25, 2015 at 09:48:31 PM, Pavel Machek wrote: > On Thu 2014-10-02 00:34:48, Jagan Teki wrote: > > On 2 October 2014 00:27, Stefan Roese wrote: > > > On 01.10.2014 20:25, Marek Vasut wrote: > > >> On Wednesday, October 01, 2014 at 05:13:11 PM, Stefan Roese wrote: > > >>> This is needed for the SoCFPGA booting from SPI NOR flash > > >>> e.g. (N25Q256A). With these changes, the SoCrates can boot and > > >>> re-boot (reset) from SPI NOR flash without any problems. > > >> > > >> Seems like your SPI NOR reset logic is buggy. Does any of [1] apply to > > >> your > > >> board please? > > >> > > >> [1] http://www.rocketboards.org/foswiki/Documentation/SocBoardQspiBoot > > > > > > Yes. This seems to be that case. But I can't change it right now. So > > > this "solution" with the soft-reset is better than nothing. > > > > If this is some think that must require, any possibility to this > > resetting prior to u-boot? > > like preloader or in first stage boot loader or something. > > u-boot-spl 2013.01/altera set it up like this for us; and mainline > u-boot-spl does not work on socfpga... that's why we need to do it > here, and that's why you don't see it on your board. As discussed in person, please rebase and repost. You're right that it's a good idea to add an option to restart the SPI NOR in software if needed be. Best regards, Marek Vasut