From patchwork Tue Dec 10 00:52:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 11281183 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 73BEC138C for ; Tue, 10 Dec 2019 00:52:24 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4988E20637 for ; Tue, 10 Dec 2019 00:52:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=aj.id.au header.i=@aj.id.au header.b="EGANWB7O"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="dUBePxy4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4988E20637 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:48804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieTlH-0002TC-A6 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 09 Dec 2019 19:52:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59229) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieTkS-0001WF-A2 for qemu-devel@nongnu.org; Mon, 09 Dec 2019 19:51:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieTkR-0000Mo-E9 for qemu-devel@nongnu.org; Mon, 09 Dec 2019 19:51:32 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57901) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ieTkO-0000LK-Nt; Mon, 09 Dec 2019 19:51:29 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 609A522721; Mon, 9 Dec 2019 19:51:26 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 09 Dec 2019 19:51:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=d1dmNORHMlpfYt+AMVjS4Tn/Y9 CmVlh1D4pT80hKJvA=; b=EGANWB7Okcu9K8aWsEYz4CRdtDGQsxLuLligsRB6ti JFImEmY7kDlEp+Aea0styf6bZIaEQIUIfsfOBTnpcnKgy766YU35QCrtAzGFmh01 d8Yd0wrGpQYPl6/QvidlH51VzQmLxQekMrvuStk3Ar7J9QkzZbQYmvSqLjiGu8kU JaDnSrvWwGuVMq4JLNPylWzL64wm2xLkvicumQPal0rYjMO8pbbYNcNtK8bgBXvo Sp8yqctwnpO0up5Z5dwWk0Roa3mwziCMRQm+6dQD5MKsZDfgn7LUZf4RwSHXqpp5 F3e5sTmDtKAAqHa4qDevny6NDncOtOr1lSu5T/Cgk/9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=d1dmNORHMlpfYt+AM VjS4Tn/Y9CmVlh1D4pT80hKJvA=; b=dUBePxy4jB+2eJ8N6BIpIwWSdW60BtDH5 f8GLISfI0IrWei4Zm7/FDjRCuLV7vVnCHkQnE2dRQ9kj+ppmyEK2M9oyhUsvNhmD hIKL8oi/Kd9RxgcxKOcj8tYl8Io6VPlPqsyjZzTK709I8fwGziQrzEeUZvFcsY/M RNNyAsgJvUS5uHnJka6ta02UT5LCJl0s0qxQSzBY86iqViXIL2ogdlnyqYnpLI49 jb6XquB8VHtD1+VyfD5G2EDLO+PKHNHdx+tvl2ty3RcOg1zTkLn58mB9D2Yxobwx mo9y/QJp/uVkwtsScTlqz77jn2Q2REgEQR54d3Oiy7sxHgjuhkUgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudelvddgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomheptehnughrvgifucflvghffhgvrhihuceorghnughrvgifsegrjhdr ihgurdgruheqnecukfhppedvtddvrdekuddrudekrdeftdenucfrrghrrghmpehmrghilh hfrhhomheprghnughrvgifsegrjhdrihgurdgruhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from mistburn.au.ibm.com (bh02i525f01.au.ibm.com [202.81.18.30]) by mail.messagingengine.com (Postfix) with ESMTPA id 145E830600BD; Mon, 9 Dec 2019 19:51:22 -0500 (EST) From: Andrew Jeffery To: qemu-arm@nongnu.org Subject: [PATCH 0/2] hw/arm: ast2600: Wire up eMMC controller Date: Tue, 10 Dec 2019 11:22:49 +1030 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.27 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org, clg@kaod.org, joel@jms.id.au Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Hello, The AST2600 has an additional SDHCI intended for use as an eMMC boot source. These two patches rework the existing ASPEED SDHCI model to accommodate the single-slot nature of the eMMC controller and wire it into the AST2600 SoC. Please review! Andrew Andrew Jeffery (2): hw/sd: Configure number of slots exposed by the ASPEED SDHCI model hw/arm: ast2600: Wire up the eMMC controller hw/arm/aspeed.c | 15 ++++++++++++++- hw/arm/aspeed_ast2600.c | 23 +++++++++++++++++++++++ hw/arm/aspeed_soc.c | 3 +++ hw/sd/aspeed_sdhci.c | 11 +++++++++-- include/hw/arm/aspeed_soc.h | 2 ++ include/hw/sd/aspeed_sdhci.h | 1 + 6 files changed, 52 insertions(+), 3 deletions(-) base-commit: 6a4ef4e5d1084ce41fafa7d470a644b0fd3d9317