On Thu, Aug 24, 2017 at 12:53 PM, Andy Yan <andy....@rock-chips.com> wrote: > Hi Jagan: > > > On 2017年08月24日 14:58, Jagan Teki wrote: >> >> On Tue, Aug 8, 2017 at 7:13 AM, Andy Yan <andy....@rock-chips.com> wrote: >>> >>> SFC stands for Serial Flash Controller on some >>> rockchip platforms such as RV1108/RK3128. >>> >>> This patch add support for it with Standard,Dual,Quad >>> mode. >> >> What I found from the code and related kconfig, this sounds like >> spi-nor flash driver try to write driver under mtd with >> UCLASS_SPI_FLASH. > > > You mean I should write a UCLASS_SPI_FLASH U_BOOT_DRIVER(rockchip_sfc) > which implement a dm_spi_flash_ops?
Yes, see sf_dataflash for example. > I see you updated the spi-nor framework on your spi tree these days, > How about I write the sfc driver based on your spi-nor framework? May be you can do that - certainly we need to write spi-nor, It is WIP looking for suitable design for handling spi-nor chips through MTD. thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot