From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVHAH-0000Uh-7z for qemu-devel@nongnu.org; Mon, 15 Feb 2016 06:18:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVHAD-0001jN-Vc for qemu-devel@nongnu.org; Mon, 15 Feb 2016 06:18:01 -0500 Received: from zose-mta03.web4all.fr ([185.49.20.44]:41963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVHAD-0001iJ-Pr for qemu-devel@nongnu.org; Mon, 15 Feb 2016 06:17:57 -0500 From: Jean-Christophe Dubois Date: Mon, 15 Feb 2016 12:17:50 +0100 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/4] Add support for i.MX SPI Controller List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, peter.maydell@linaro.org, mar.krzeminski@gmail.com, crosthwaite.peter@gmail.com Cc: Jean-Christophe Dubois This patch serie adds support for the i.MX SPI controller. The controller is then added to the i.MX6 SOC implementation to avoid Linux hang during boot because there is no support for the SPI controller and it is waiting for some SPI device response. We also add a NOR FLASH SPI memory to the sabrelite board to test the SPI implementation. This patch also adds a FIFO32 implementation as it is part of the i.MX SPI controller basic mechanisms. The FIFO32 is build on top of the existing FIFO8. Jean-Christophe Dubois (4): FIFO: Add a FIFO32 implementation i.MX: Add the Freescale SPI Controller i.MX: Add SPI controllers to i.MX6 SOC i.MX: Add SPI NOR FLASH memory to sabrelite board. hw/arm/fsl-imx6.c | 32 ++++ hw/arm/sabrelite.c | 9 + hw/ssi/Makefile.objs | 1 + hw/ssi/imx_spi.c | 459 ++++++++++++++++++++++++++++++++++++++++++++++ include/hw/arm/fsl-imx6.h | 3 + include/hw/ssi/imx_spi.h | 104 +++++++++++ include/qemu/fifo32.h | 206 +++++++++++++++++++++ 7 files changed, 814 insertions(+) create mode 100644 hw/ssi/imx_spi.c create mode 100644 include/hw/ssi/imx_spi.h create mode 100644 include/qemu/fifo32.h -- 2.5.0