From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDpOd-000880-4N for qemu-devel@nongnu.org; Fri, 17 Jun 2016 04:45:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDpOX-0003xB-5O for qemu-devel@nongnu.org; Fri, 17 Jun 2016 04:44:58 -0400 Received: from 2.mo53.mail-out.ovh.net ([178.33.254.39]:52355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDpOW-0003wp-VO for qemu-devel@nongnu.org; Fri, 17 Jun 2016 04:44:53 -0400 Received: from player158.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo53.mail-out.ovh.net (Postfix) with ESMTP id B3215FF9404 for ; Fri, 17 Jun 2016 10:36:23 +0200 (CEST) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Fri, 17 Jun 2016 10:35:51 +0200 Message-Id: <1466152555-10406-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/4] ast2400: SMC controllers 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 , Joel Stanley , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Hello, The following adds support for the AST2400 SMC controllers. The device model does not implement all the HW features, linear addressing mode is underway, but it should be complete enough for the OpenBMC distro. Code is based on Andrew's SCU model :=20 https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg04420.html Flash images can be grabbed here for testing : https://openpower.xyz/job/openbmc-build/distro=3Dubuntu,target=3Dpalm= etto/lastSuccessfulBuild/artifact/images/palmetto/flash-palmetto https://openpower.xyz/job/openpower-op-build/distro=3Dubuntu,target=3D= palmetto/lastSuccessfulBuild/artifact/images/palmetto.pnor Thanks, C=C3=A9dric Le Goater (4): ast2400: add SMC controllers (FMC and SPI) ast2400: add SPI flash slave object ast2400: create SPI flash slaves tests: add a m25p80 test hw/arm/ast2400.c | 31 +++ hw/arm/palmetto-bmc.c | 3 + hw/ssi/Makefile.objs | 1 + hw/ssi/aspeed_smc.c | 451 ++++++++++++++++++++++++++++++++++++++= ++++++ include/hw/arm/ast2400.h | 3 + include/hw/ssi/aspeed_smc.h | 105 +++++++++++ tests/Makefile.include | 2 + tests/m25p80-test.c | 241 +++++++++++++++++++++++ 8 files changed, 837 insertions(+) create mode 100644 hw/ssi/aspeed_smc.c create mode 100644 include/hw/ssi/aspeed_smc.h create mode 100644 tests/m25p80-test.c --=20 2.1.4