qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] ast2400: some cleanups and a simple memory controller model
@ 2016-07-08 16:06 Cédric Le Goater
  2016-07-08 16:06 ` [Qemu-devel] [PATCH 1/5] hw/misc: fix typo in Aspeed SCU hw-strap2 property name Cédric Le Goater
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Cédric Le Goater @ 2016-07-08 16:06 UTC (permalink / raw)
  To: Peter Maydell, Peter Crosthwaite
  Cc: qemu-devel, qemu-arm, Andrew Jeffery, Cédric Le Goater

Hello,

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.

Thanks,

C. 

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

-- 
2.1.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-07-25 15:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-08 16:06 [Qemu-devel] [PATCH 0/5] ast2400: some cleanups and a simple memory controller model Cédric Le Goater
2016-07-08 16:06 ` [Qemu-devel] [PATCH 1/5] hw/misc: fix typo in Aspeed SCU hw-strap2 property name Cédric Le Goater
2016-07-08 16:06 ` [Qemu-devel] [PATCH 2/5] ast2400: replace aspeed_smc_is_implemented() Cédric Le Goater
2016-07-08 16:06 ` [Qemu-devel] [PATCH 3/5] ast2400: pretend DMAs are done for U-boot Cédric Le Goater
2016-07-08 16:06 ` [Qemu-devel] [PATCH 4/5] ast2400: externalize revision numbers Cédric Le Goater
2016-07-08 16:06 ` [Qemu-devel] [PATCH 5/5] ast2400: add a memory controller device model Cédric Le Goater
2016-07-25 15:12   ` Peter Maydell
2016-07-25 15:55     ` Cédric Le Goater
2016-07-12 14:19 ` [Qemu-devel] [PATCH 0/5] ast2400: some cleanups and a simple memory controller model Peter Maydell
2016-07-12 16:20   ` Cédric Le Goater
2016-07-12 16:32     ` Cédric Le Goater
2016-07-12 17:10     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).