[U-Boot] [PATCH 2/3] spi: Add support for the Aspeed ast2500 SPI controllers

Cédric Le Goater clg at kaod.org
Mon Oct 8 06:02:09 UTC 2018


On 10/4/18 5:57 PM, Jagan Teki wrote:
> On Fri, Sep 28, 2018 at 5:20 PM Cédric Le Goater <clg at kaod.org> wrote:
>>
>> Hello Simon,
>>
>>
>> The Aspeed AST2500 FMC controller can handle SPI flash and NOR flash memory,
>> 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 ?
> 
> 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  : 

	https://patchwork.ozlabs.org/cover/933293/

is not using spimem. I was not aware of that change in the spi-nor layer 
at the time. I will take a look.

Is there a similar framework in u-boot ?

Thanks,

C. 


More information about the U-Boot mailing list