From nobody Wed Nov 12 03:42:20 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1567633029; cv=none; d=zoho.com; s=zohoarc; b=ALoixMIrMzDrWWSx2OUGFnxbpg4Tv7WfuPzN0Kl4M5Tn0Q1FV7u95rggH3k4yR7M5qtH6tXEfqVgdeWFUnWWXZ4Hc6ZJPh4WTXyzTWx8kW+oWNbsV3wdDKcwpIterMwrmuZJAQu7lpUQuzyK7W27OdIDfQQkJ8sFQ4W1BdWPJ48= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567633029; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=AQ2W/wn5zzSquA+AEb7r6H1Zqtx7Tq0Ndz2XW/gYuWc=; b=C1NVVgrioyTMhp+UnSGhKbbWhGPfFc+r8dIpjEzonC4Mo6uyIhEZN7cqRJpYSqsVTIR8REJbQqcLcr8G9J8BBoICmn6wk2xrAe/icp2Ic44Bt2B/U5JPvNqJy6Gc2H8VAlgcClRbljtnfx/GrZTUiYoIXPj92g0U34g/UpZbONk= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1567633029848261.2289780888626; Wed, 4 Sep 2019 14:37:09 -0700 (PDT) Received: from localhost ([::1]:40308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5cxg-00034E-8g for importer@patchew.org; Wed, 04 Sep 2019 17:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53986) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5cD4-0001MB-NH for qemu-devel@nongnu.org; Wed, 04 Sep 2019 16:48:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5cD3-0002AY-DZ for qemu-devel@nongnu.org; Wed, 04 Sep 2019 16:48:58 -0400 Received: from 1.mo173.mail-out.ovh.net ([178.33.111.180]:60614) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5cD3-00029t-7q for qemu-devel@nongnu.org; Wed, 04 Sep 2019 16:48:57 -0400 Received: from player691.ha.ovh.net (unknown [10.109.146.53]) by mo173.mail-out.ovh.net (Postfix) with ESMTP id 5E4B4117E70 for ; Wed, 4 Sep 2019 22:48:56 +0200 (CEST) Received: from kaod.org (lfbn-1-2240-157.w90-76.abo.wanadoo.fr [90.76.60.157]) (Authenticated sender: clg@kaod.org) by player691.ha.ovh.net (Postfix) with ESMTPSA id CCAF698B2A19; Wed, 4 Sep 2019 20:48:49 +0000 (UTC) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: Peter Maydell Date: Wed, 4 Sep 2019 22:46:59 +0200 Message-Id: <20190904204659.13878-16-clg@kaod.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190904204659.13878-1-clg@kaod.org> References: <20190904204659.13878-1-clg@kaod.org> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2537778391939910417 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudejhedgudehudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 178.33.111.180 Subject: [Qemu-devel] [RFC PATCH 15/15] aspeed/soc: Add ASPEED Video stub 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: Andrew Jeffery , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , qemu-arm@nongnu.org, qemu-devel@nongnu.org, Joel Stanley Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Joel Stanley Signed-off-by: Joel Stanley Signed-off-by: C=C3=A9dric Le Goater --- include/hw/arm/aspeed_soc.h | 1 + hw/arm/aspeed_soc.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/include/hw/arm/aspeed_soc.h b/include/hw/arm/aspeed_soc.h index 9e06a6ad4fbd..ef5b93e5e9cf 100644 --- a/include/hw/arm/aspeed_soc.h +++ b/include/hw/arm/aspeed_soc.h @@ -99,6 +99,7 @@ enum { ASPEED_SDMC, ASPEED_SCU, ASPEED_ADC, + ASPEED_VIDEO, ASPEED_SRAM, ASPEED_SDHCI, ASPEED_GPIO, diff --git a/hw/arm/aspeed_soc.c b/hw/arm/aspeed_soc.c index c3f99849b7f0..b9da49e16f2d 100644 --- a/hw/arm/aspeed_soc.c +++ b/hw/arm/aspeed_soc.c @@ -102,6 +102,7 @@ static const hwaddr aspeed_soc_ast2600_memmap[] =3D { [ASPEED_SCU] =3D 0x1E6E2000, [ASPEED_XDMA] =3D 0x1E6E7000, [ASPEED_ADC] =3D 0x1E6E9000, + [ASPEED_VIDEO] =3D 0x1E700000, [ASPEED_SDHCI] =3D 0x1E740000, [ASPEED_GPIO] =3D 0x1E780000, [ASPEED_GPIO_1_8V] =3D 0x1E780800, @@ -371,6 +372,10 @@ static void aspeed_soc_realize(DeviceState *dev, Error= **errp) create_unimplemented_device("aspeed_soc.io", sc->info->memmap[ASPEED_I= OMEM], ASPEED_SOC_IOMEM_SIZE); =20 + /* Video engine stub */ + create_unimplemented_device("aspeed.video", sc->info->memmap[ASPEED_VI= DEO], + 0x1000); + if (s->num_cpus > sc->info->num_cpus) { warn_report("%s: invalid number of CPUs %d, using default %d", sc->info->name, s->num_cpus, sc->info->num_cpus); --=20 2.21.0