* [U-Boot] SPI NOR controller with direct mapping support
@ 2018-11-21 11:40 Miquel Raynal
0 siblings, 0 replies; only message in thread
From: Miquel Raynal @ 2018-11-21 11:40 UTC (permalink / raw)
To: u-boot
Hello Jagan,
I have a SoC which has a portion of memory where we can map a SPI NOR
portion to do direct accesses. This is only for reading requests,
otherwise regular SPI transfers must be used.
While there is no real support for spi-mem in spi-flash, what is the
right way to implement a driver for such controller? It is more a SPI
controller driver and should probably inherit from UCLASS_SPI. But
inside the driver, it looks like we must access the spi_flash
structure. Also, we would make use of functions like spi_flash_std_xxx
from drivers/mtd/spi/ while I would definitely put the driver itself in
drivers/spi/. Can you please comment on all these points?
Thanks,
Miquèl
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-21 11:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-21 11:40 [U-Boot] SPI NOR controller with direct mapping support Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox