Hello,
This series adds a couple of cleanups and two main features to the
Aspeed machines :
- a 'mmio-exec' property to boot directly from a memory region alias
of the FMC flash module using MMIO execution. This is not activated
by default because boot time needs to be improved on recent
firmwares.
- support for DMA to access the flash modules. Our primary need is
the checksum calculation which is used to evaluate the best clock
settings for reads.
Thanks,
C.
Cédric Le Goater (11):
aspeed/timer: fix compile breakage with clang 3.4.2
hw/arm/aspeed: change the FMC flash model of the AST2500 evb
hw/arm/aspeed: Add an Aspeed machine class
hw/arm/aspeed: add a 'mmio-exec' property to boot from the FMC flash
module
aspeed/smc: fix some alignment issues
aspeed/smc: fix default read value
aspeed/smc: add a 'sdram_base' and 'max-ram-size' properties
aspeed/smc: add support for DMAs
aspeed/smc: add DMA calibration settings
aspeed/smc: inject errors in DMA checksum
aspeed/smc: Add dummy data register
include/hw/arm/aspeed.h | 48 ++++++
include/hw/ssi/aspeed_smc.h | 4 +
include/hw/timer/aspeed_timer.h | 3 +-
hw/arm/aspeed.c | 255 +++++++++++++------------------
hw/arm/aspeed_soc.c | 28 ++--
hw/ssi/aspeed_smc.c | 263 ++++++++++++++++++++++++++++++--
hw/timer/aspeed_timer.c | 1 -
7 files changed, 428 insertions(+), 174 deletions(-)
create mode 100644 include/hw/arm/aspeed.h
--
2.17.1