From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Wed, 4 Nov 2015 10:36:08 +0800 Subject: [U-Boot] [PATCH] mtd: add altera quadspi driver In-Reply-To: <201511031844.13702.marex@denx.de> References: <1446556932-14978-1-git-send-email-thomas@wytron.com.tw> <201511031844.13702.marex@denx.de> Message-ID: <56396F18.30401@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marek, On 2015?11?04? 01:44, Marek Vasut wrote: > On Tuesday, November 03, 2015 at 02:22:12 PM, Thomas Chou wrote: >> Add Altera Generic Quad SPI Controller support. The controller >> converts SPI NOR flash to parallel flash interface. So it is >> not like other SPI flash, but rather like CFI flash. >> >> Signed-off-by: Thomas Chou >> --- > > You might want to look at https://lwn.net/Articles/636882/ , it is the > driver for the same hardware, but for Linux. But keep in mind that the > driver had some difficulties getting in, you might want to check the > discussions in linux-mtd . > I did check and follow the threads for a while since you pointed me about it in earlier communication. It is v5 last month. But the author decided to wait for hardware fix on rdid. Yet I have a different point as I stated in the patch message. It is NOT a spi-nor since the hardware converted it to parallel interface. It should be treated more like cfi flash. I think it might be a mistake to take it as spi-nor. And this might be the hidden cause to prevent the linux driver getting in. So I wrote it my way. Best regards, Thomas