From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPI flash on Altera socfpga
Date: Wed, 22 Apr 2015 11:19:44 +0200 [thread overview]
Message-ID: <553767B0.2080802@denx.de> (raw)
In-Reply-To: <5534CA3E.50109@denx.de>
Hi Pavel,
On 20.04.2015 11:43, Stefan Roese wrote:
> On 20.04.2015 11:24, Pavel Machek wrote:
>>> Which SPI flash are you talking about -- QSPI one or EPCS/EPCQ one ?
>>>
>>> I think Stefan got the QSPI one working. EPCQ is a bit trickier.
>>
>> Datasheet mentions QSPI_IO*/CLK/SS* pins, so I assume it is QSPI.
>
> Yes, QSPI handles the SPI NOR flash chips on SoCFPGA.
>
>>> On 20.04.2015 10:36, Pavel Machek wrote:
>>>> I see that u-boot 2015.04 has SPI flash configured in the
>>>> socfpga_cyclone5_socrates.dts. But as far as I know, socdk should have
>>>> same SPI flash, right? Should similar dts part be enabled there, too?
>>>
>>> SPI NOR flash is working for me on SoCrates and another similar custom
>>> SOCFPGA based board just fine.
I just re-tested SPI NOR on SoCratres. And it also is broken starting
with this commit:
$ git bisect good
0f36f957f4108d2d1d935e3076b7ae91f4e65a7d is the first bad commit
commit 0f36f957f4108d2d1d935e3076b7ae91f4e65a7d
Author: Simon Glass <sjg@chromium.org>
Even the v2015.04 release has non-working SPI NOR I'm afraid. In current
master its fixed again. This patch here fixes this bug:
b3d023b4058acc83d211555e62068f84e322bcac
"dm: spi_flash: fix wrong dependency"
I'll resend another mail to Tom, asking him to queue this patch for a
potential v2015.04 stable release.
Thanks,
Stefan
next prev parent reply other threads:[~2015-04-22 9:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-20 8:36 [U-Boot] SPI flash on Altera socfpga Pavel Machek
2015-04-20 8:41 ` Marek Vasut
2015-04-20 9:24 ` Pavel Machek
2015-04-20 9:43 ` Stefan Roese
2015-04-20 11:58 ` [U-Boot] SPI flash only works after sspi command (was Re: SPI flash on Altera socfpga) Pavel Machek
2015-04-22 9:19 ` Stefan Roese [this message]
2015-04-20 8:42 ` [U-Boot] SPI flash on Altera socfpga Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=553767B0.2080802@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.