qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] hw/arm: sabrelite: Connect SPI flash CS line to GPIO3_19


From: Peter Maydell
Subject: Re: [PATCH v2] hw/arm: sabrelite: Connect SPI flash CS line to GPIO3_19
Date: Thu, 30 Sep 2021 13:40:49 +0100

On Mon, 27 Sept 2021 at 15:28, Xuzhou Cheng <xchengl.cn@gmail.com> wrote:
>
> From: Xuzhou Cheng <xuzhou.cheng@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]