From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Date: Mon, 8 Oct 2018 08:02:09 +0200 Subject: [U-Boot] [PATCH 2/3] spi: Add support for the Aspeed ast2500 SPI controllers In-Reply-To: References: <20180910141655.20944-1-clg@kaod.org> <20180910141655.20944-3-clg@kaod.org> <09c407b3-be92-6ded-ac87-1e8b79a59761@kaod.org> Message-ID: <337686c0-cad4-1dbb-ece1-f1bf578838f6@kaod.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On 10/4/18 5:57 PM, Jagan Teki wrote: > On Fri, Sep 28, 2018 at 5:20 PM C=C3=A9dric Le Goater wrot= e: >> >> Hello Simon, >> >> >> The Aspeed AST2500 FMC controller can handle SPI flash and NOR flash mem= ory, >> and the Aspeed AST2500 SPI Flash Controllers only SPI. If there is some >> misunderstanding on this driver, it might come from the fact it is closer >> to a SPI-NOR driver like we have in Linux, than a generic SPI driver. >> The stm32 SPI driver is somewhat similar. >> >> Should we move it under drivers/mtd/spi/ maybe ? >=20 > Seems with new spi-mem in Linux flash memory driver rely on spi-mem > instead of mtd/spi-nor. So I think you can handle this via new > spi-mem. have you send any patches to Linux? No, not yet. The patchset is sent :=20 https://patchwork.ozlabs.org/cover/933293/ is not using spimem. I was not aware of that change in the spi-nor layer=20 at the time. I will take a look. Is there a similar framework in u-boot ? Thanks, C.=20