qemu/include/hw/arm
Cédric Le Goater 7c1c69bca4 ast2400: add SMC controllers (FMC and SPI)
The Aspeed AST2400 soc includes a static memory controller for the BMC
which supports NOR, NAND and SPI flash memory modules. This controller
has two modes : the SMC for the legacy interface which supports only
one module and the FMC for the new interface which supports up to five
modules. The AST2400 also includes a SPI only controller used for the
host firmware, commonly called BIOS on Intel. It can be used in three
mode : a SPI master, SPI slave and SPI pass-through

Below is the initial framework for the SMC controller (FMC mode only)
and the SPI controller: the sysbus object, MMIO for registers
configuration and controls. Each controller has a SPI bus and a
configurable number of CS lines for SPI flash slaves.

The differences between the controllers are small, so they are
abstracted using indirections on the register numbers.

Only SPI flash modules are supported.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1467138270-32481-7-git-send-email-clg@kaod.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: added one missing error_propagate]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-07-04 13:15:22 +01:00
..
allwinner-a10.h arm: allwinner-a10: Add SATA 2015-11-06 14:09:01 -05:00
arm.h arm: include cpu-qom.h in files that require ARMCPU 2016-05-19 16:42:27 +02:00
ast2400.h ast2400: add SMC controllers (FMC and SPI) 2016-07-04 13:15:22 +01:00
bcm2835_peripherals.h bcm2835_dma: add emulation of Raspberry Pi DMA controller 2016-03-16 17:42:18 +00:00
bcm2836.h bcm2836: add bcm2836 SoC device 2016-02-03 15:00:46 +00:00
digic.h qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
exynos4210.h arm: include cpu-qom.h in files that require ARMCPU 2016-05-19 16:42:27 +02:00
fdt.h hw/arm/sysbus-fdt: enable vfio-calxeda-xgmac dynamic instantiation 2015-06-19 14:17:44 +01:00
fsl-imx6.h Add ENET device to i.MX6 SOC. 2016-06-02 10:42:46 +08:00
fsl-imx25.h i.MX: Add an i.MX25 specific CCM class/instance 2015-12-17 13:37:16 +00:00
fsl-imx31.h i.MX: Split the CCM class into an abstract base class and a concrete class 2015-12-17 13:37:15 +00:00
linux-boot-if.h hw/arm: new interface for devices which need to behave differently for kernel boot 2015-09-08 17:38:43 +01:00
omap.h arm: include cpu-qom.h in files that require ARMCPU 2016-05-19 16:42:27 +02:00
primecell.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pxa.h arm: include cpu-qom.h in files that require ARMCPU 2016-05-19 16:42:27 +02:00
raspi_platform.h bcm2835_peripherals: add rollup device for bcm2835 peripherals 2016-02-03 15:00:45 +00:00
sharpsl.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
soc_dma.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
stm32f205_soc.h stm32f205: Fix SoC type name 2015-04-13 11:37:10 +01:00
sysbus-fdt.h hw/arm/sysbus-fdt: helpers for platform bus nodes addition 2015-06-02 15:44:28 +01:00
virt-acpi-build.h qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
virt.h hw/arm/virt: Add PMU node for virt machine 2016-06-14 15:59:12 +01:00
xlnx-zynqmp.h arm: xlnx-zynqmp: Add xlnx-dp and xlnx-dpdma 2016-06-14 16:01:03 +01:00