From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Sat, 25 Apr 2015 21:48:31 +0200 Subject: [U-Boot] [RFC PATCH 4/4 v3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset In-Reply-To: References: <1412176391-24475-1-git-send-email-sr@denx.de> <1412176391-24475-5-git-send-email-sr@denx.de> <201410012025.55937.marex@denx.de> <542C4E8B.7000807@denx.de> Message-ID: <20150425194831.GC18496@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html