From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGJDL-0003v6-Q6 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 00:59:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGJDK-0001Th-Nf for qemu-devel@nongnu.org; Fri, 24 Jun 2016 00:59:35 -0400 From: Andrew Jeffery Date: Fri, 24 Jun 2016 14:28:22 +0930 Message-Id: <1466744305-23163-1-git-send-email-andrew@aj.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v3 0/3] Add ASPEED SCU device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Joel Stanley , qemu-devel@nongnu.org, qemu-arm@nongnu.org, Andrew Jeffery Hi all, These are three patches implementing minimal functionality for the ASPEED System Control Unit device and integrating it into the AST2400 SoC model/palmetto-bmc machine. The device is critical for initialisation of u-boot and the kernel as it provides chip level control registers, influencing the configuration of the software and the software's configuration of the SoC. Since v2: * Fix mixing of offsets and register indexes * Sanity check device property values * SoC actually initialises the silicon revision Since v1: * Select reset values based on silicon revision * Expose hardware strapping values via properties Andrew Jeffery (3): hw/misc: Add a model for the ASPEED System Control Unit ast2400: Integrate the SCU model and set silicon revision palmetto-bmc: Configure the SCU's hardware strapping register hw/arm/ast2400.c | 21 ++++ hw/arm/palmetto-bmc.c | 2 + hw/misc/Makefile.objs | 1 + hw/misc/aspeed_scu.c | 284 +++++++++++++++++++++++++++++++++++++++++++ hw/misc/trace-events | 3 + include/hw/arm/ast2400.h | 2 + include/hw/misc/aspeed_scu.h | 34 ++++++ 7 files changed, 347 insertions(+) create mode 100644 hw/misc/aspeed_scu.c create mode 100644 include/hw/misc/aspeed_scu.h -- 2.7.4