On Mon, 27 Sept 2021 at 15:28, Xuzhou Cheng <xchengl...@gmail.com> wrote: > > From: Xuzhou Cheng <xuzhou.ch...@windriver.com> > > The Linux spi-imx driver does not work on QEMU. The reason is that the > state of m25p80 loops in STATE_READING_DATA state after receiving > RDSR command, the new command is ignored. Before sending a new command, > CS line should be pulled high to make the state of m25p80 back to IDLE. > > Currently the SPI flash CS line is connected to the SPI controller, but > on the real board, it's connected to GPIO3_19. This matches the ecspi1 > device node in the board dts.
Thanks for the effort you put in to track down the root cause of this bug! Applied to target-arm.next. -- PMM