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.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
fsl-imx6.h Add ENET device to i.MX6 SOC. 2016-06-02 10:42:46 +08:00
fsl-imx25.h
fsl-imx31.h
linux-boot-if.h
omap.h arm: include cpu-qom.h in files that require ARMCPU 2016-05-19 16:42:27 +02:00
primecell.h
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
soc_dma.h
stm32f205_soc.h stm32f205: Fix SoC type name 2015-04-13 11:37:10 +01:00
sysbus-fdt.h
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