From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLYJj-0008KW-1U for qemu-devel@nongnu.org; Fri, 08 Jul 2016 12:07:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLYJc-0002Ej-Tb for qemu-devel@nongnu.org; Fri, 08 Jul 2016 12:07:49 -0400 Received: from 6.mo179.mail-out.ovh.net ([46.105.56.76]:54559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLYJc-0002EK-Mm for qemu-devel@nongnu.org; Fri, 08 Jul 2016 12:07:44 -0400 Received: from player715.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id 32830100C3F9 for ; Fri, 8 Jul 2016 18:07:38 +0200 (CEST) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Fri, 8 Jul 2016 18:06:51 +0200 Message-Id: <1467994016-11678-1-git-send-email-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/5] ast2400: some cleanups and a simple memory controller model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Peter Crosthwaite Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org, Andrew Jeffery , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= 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.=20 C=C3=A9dric 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 --=20 2.1.4