[Top][All Lists]

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

[Qemu-arm] [PATCH 0/5] ast2400: some cleanups and a simple memory contro

From: Cédric Le Goater
Subject: [Qemu-arm] [PATCH 0/5] ast2400: some cleanups and a simple memory controller model
Date: Fri, 8 Jul 2016 18:06:51 +0200


Here are a couple of cleanups and a very basic memory controller model
providing a configuration register. This is needed to determine the
RAM size of the SOC, only used by U-Boot as of today.

Ultimately, we would want to add more support for U-Boot and be able
to boot from flash 0 but the device model of the m25p80 object is not
designed to use a memory region. And so, it is difficult to define a
rom device for the flash backend.

Some initial patches were proposed but they are not being friendly
with the object interface. Work in progress.



Cédric Le Goater (5):
  hw/misc: fix typo in Aspeed SCU hw-strap2 property name
  ast2400: replace aspeed_smc_is_implemented()
  ast2400: pretend DMAs are done for U-boot
  ast2400: externalize revision numbers
  ast2400: add a memory controller device model

 hw/arm/ast2400.c              |  17 ++-
 hw/misc/Makefile.objs         |   2 +-
 hw/misc/aspeed_scu.c          |   6 +-
 hw/misc/aspeed_sdmc.c         | 245 ++++++++++++++++++++++++++++++++++++++++++
 hw/ssi/aspeed_smc.c           |  39 ++++---
 include/hw/arm/ast2400.h      |   2 +
 include/hw/misc/aspeed_scu.h  |   5 +
 include/hw/misc/aspeed_sdmc.h |  31 ++++++
 8 files changed, 320 insertions(+), 27 deletions(-)
 create mode 100644 hw/misc/aspeed_sdmc.c
 create mode 100644 include/hw/misc/aspeed_sdmc.h


reply via email to

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